[fix] get_file_date_time validation
commita1ff7b4d5bb73127990af3aa50febf707999415f
authorafify <hassan@afify.dev>
Sat, 4 Jul 2020 15:12:47 +0000 (4 18:12 +0300)
committerafify <hassan@afify.dev>
Sat, 4 Jul 2020 15:12:47 +0000 (4 18:12 +0300)
tree488c5db1a30a2740b2a39ff510d0edf7650fc51b
parenta392952d982e4aae51f7857f8154deb495efc98a
[fix] get_file_date_time validation

- add dt_fmt(date time format)  in config file to config specifier
- strftime return size_t = len of string without the \0
- get_file_date_time return NULL if strftime != (dt_fmt) -1
config.def.h
sfm.c