IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5918


Ignore:
Timestamp:
Jan 5, 2006, 6:44:24 PM (21 years ago)
Author:
eugene
Message:

add ability to handle double-quotes around date/time string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libohana/src/time.c

    r4830 r5918  
    264264 
    265265  p1 = date;
    266   px = date + strlen(date);
     266  if (p1 == NULL) return 0;
     267  if (*p1 == '"') p1++;
     268
     269  px = p1 + strlen(p1);
    267270  bzero (&now, sizeof(now));
    268271
Note: See TracChangeset for help on using the changeset viewer.