IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 25, 2006, 5:47:49 PM (20 years ago)
Author:
jhoblitt
Message:

change psTimeToISO() to not append a 'Z' to the time string

File:
1 edited

Legend:

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

    r9665 r9749  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.98 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-10-20 00:17:21 $
     12 *  @version $Revision: 1.99 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-10-26 03:47:49 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    13841384
    13851385    // Create string with milliseconds
    1386     if (snprintf(timeString, MAX_TIME_STRING_LENGTH, "%s.%1dZ", tempString, ds) < 0) {
     1386    if (snprintf(timeString, MAX_TIME_STRING_LENGTH, "%s.%1d", tempString, ds) < 0) {
    13871387        psError(PS_ERR_OS_CALL_FAILED, true, _("Failed to append millisecond to time string with snprintf function."));
    13881388        return NULL;
Note: See TracChangeset for help on using the changeset viewer.