IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 30, 2006, 12:30:59 PM (20 years ago)
Author:
jhoblitt
Message:

fix printing of psTimes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/templates/psdb/printmetadataraw.tt

    r8686 r9792  
    5656                // !->offEnd test
    5757                continue;
     58            case PS_DATA_TIME:
     59               // pass through NULLs as "NULL"
     60                if (item->data.V) {
     61                    psString time = psTimeToISO(item->data.V);
     62                    psStringAppend(&str, "%s", time);
     63                psFree(time);
     64                } else {
     65                    psStringAppend(&str, "NULL");
     66                }
     67                break;
    5868            default:
    5969                psError(PS_ERR_UNKNOWN, true,"unsupported psMetadataItem type");
Note: See TracChangeset for help on using the changeset viewer.