IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 17, 2008, 9:49:32 AM (18 years ago)
Author:
bills
Message:

in ppStatsFromMetadata fix problem handing dateobs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStats/src/ppStatsFromMetadataPrint.c

    r20168 r20225  
    2828            fprintf (f, "%s %f ", entry->flag, entry->value->data.F32);
    2929        }
     30        if (entry->value->type == PS_DATA_TIME) {
     31            psTime *t = (psTime *)  entry->value->data.V;
     32            psString str = psTimeToISO(t);
     33            fprintf (f, "%s %.19sZ ", entry->flag, str);
     34            psFree(str);
     35        }
    3036    }
    3137    fprintf (f, "\n");
Note: See TracChangeset for help on using the changeset viewer.