IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5926


Ignore:
Timestamp:
Jan 6, 2006, 11:35:14 AM (21 years ago)
Author:
eugene
Message:

allow date_to_sec to ignore several quoting options

File:
1 edited

Legend:

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

    r5918 r5926  
    265265  p1 = date;
    266266  if (p1 == NULL) return 0;
    267   if (*p1 == '"') p1++;
     267
     268  /* ignore standard leading quoting options: " ' ( */
     269  if (*p1 == 0x22) p1++; /* " */
     270  if (*p1 == 0x27) p1++; /* ' */
     271  if (*p1 == 0x28) p1++; /* ( */
    268272
    269273  px = p1 + strlen(p1);
Note: See TracChangeset for help on using the changeset viewer.