Enabled @ as indicator of UTC seconds in timestrings
This commit is contained in:
parent
22b5b2c493
commit
c30540a52f
@ -1348,13 +1348,13 @@ time_t Decode_timestring(char *code, time_t *date, int flag)
|
||||
|
||||
*date= 0;
|
||||
cpt= code;
|
||||
if(code[0]=='-' || code[0]=='+' || code[0]=='='){
|
||||
if(code[0]=='-' || code[0]=='+' || code[0]=='=' || code[0]=='@'){
|
||||
if(code[1]==0)
|
||||
return(0);
|
||||
if(!isdigit(code[1]))
|
||||
return(0);
|
||||
value= -1;
|
||||
if(code[0]=='=') {
|
||||
if(code[0]=='=' || code[0]=='@') {
|
||||
seconds= 0;
|
||||
sscanf(code+1,"%lf",&value);
|
||||
} else {
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2008.10.30.110049"
|
||||
#define Xorriso_timestamP "2008.10.30.114313"
|
||||
|
Loading…
Reference in New Issue
Block a user