Ignore:
Timestamp:
12/16/14 17:09:58 (7 years ago)
Author:
rlacroix
Message:

Fix: The conversion of a date to a number of seconds since the time origin was wrong.

Remove the work around in nc4_data_output.cpp which hid this bug.

Also backport this fix in XIOS 1.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/branchs/xios-1.0/src/date.hpp

    r501 r544  
    3232            friend StdIStream & operator>>(StdIStream & in, CDate & date); // Non testée. 
    3333 
    34             operator Time(void) const;  // Retourne le nombre de secondes écoulées depuis la date d'origine définie dans le calendrier. 
     34            //!< Return the number of seconds since the time origin fixed when creating the calendar 
     35            operator Time(void) const; 
    3536 
    3637            /// Traitements /// 
Note: See TracChangeset for help on using the changeset viewer.