Enabled @ as indicator of UTC seconds in timestrings

This commit is contained in:
Thomas Schmitt 2008-10-30 11:44:13 +00:00
parent 22b5b2c493
commit c30540a52f
2 changed files with 3 additions and 3 deletions

View File

@ -1348,13 +1348,13 @@ time_t Decode_timestring(char *code, time_t *date, int flag)
*date= 0; *date= 0;
cpt= code; cpt= code;
if(code[0]=='-' || code[0]=='+' || code[0]=='='){ if(code[0]=='-' || code[0]=='+' || code[0]=='=' || code[0]=='@'){
if(code[1]==0) if(code[1]==0)
return(0); return(0);
if(!isdigit(code[1])) if(!isdigit(code[1]))
return(0); return(0);
value= -1; value= -1;
if(code[0]=='=') { if(code[0]=='=' || code[0]=='@') {
seconds= 0; seconds= 0;
sscanf(code+1,"%lf",&value); sscanf(code+1,"%lf",&value);
} else { } else {

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.10.30.110049" #define Xorriso_timestamP "2008.10.30.114313"