Browse Source

Enabled @ as indicator of UTC seconds in timestrings

tags/ZeroThreeZero
Thomas Schmitt 12 years ago
parent
commit
cf920a350d
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      xorriso/xorriso.c
  2. +1
    -1
      xorriso/xorriso_timestamp.h

+ 2
- 2
xorriso/xorriso.c View File

@@ -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
xorriso/xorriso_timestamp.h View File

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

Loading…
Cancel
Save