IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8773


Ignore:
Timestamp:
Sep 7, 2006, 2:58:35 PM (20 years ago)
Author:
jhoblitt
Message:

fix psTimeFromISO() to correct set the time type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psTime.c

    r8772 r8773  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.95 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-09-08 00:30:03 $
     12 *  @version $Revision: 1.96 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-09-08 00:58:35 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    14971497    // Convert YYYY-MM-DDThh:mm:ss.sss[Z] in string form to tm time
    14981498    psTime *outTime = psTimeStrptime(input, "%Y-%m-%dT%H:%M:%S");
    1499 
    15001499    if (!outTime) {
    15011500        psError(PS_ERR_BAD_PARAMETER_VALUE, true, _("Specified ISO Time string, '%s', is malformed.  Must be in 'YYYY-MM-DDThh:mm:ss.sss' format."), input);
    15021501        return NULL;
    15031502    }
     1503
     1504    outTime->type = type;
    15041505
    15051506    return outTime;
Note: See TracChangeset for help on using the changeset viewer.