diff --git a/src/xpdev/ini_file.c b/src/xpdev/ini_file.c index 75317125fda9954ba0da91c72f9fb7d033be916f..b19a3f210f0f04d6e33f8842f58acfe3c32e742e 100644 --- a/src/xpdev/ini_file.c +++ b/src/xpdev/ini_file.c @@ -8,7 +8,7 @@ * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2015 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright Rob Swindell - http://www.synchro.net/copyright.html * * * * This library is free software; you can redistribute it and/or * * modify it under the terms of the GNU Lesser General Public License * @@ -1664,6 +1664,9 @@ static time_t parseDateTime(const char* value) && validDate(&tm)) return(fixedDateTime(&tm,tstr,0)); + if((t=xpDateTime_to_time(isoDateTimeStr_parse(value))) != INVALID_TIME) + return t; + return(strtoul(value,NULL,0)); }