Ignore:
Timestamp:
12/16/14 17:09:58 (10 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/trunk/src/date.hpp

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