Ignore:
Timestamp:
03/16/07 12:50:12 (17 years ago)
Author:
smasson
Message:

bugfix in path usage and calendar accuracy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Calendar/jul2date.pro

    r205 r227  
    3535        +( 10000L*year - 100L*month - day)*(year LT 0) 
    3636; 
    37   IF total([hour NE 12, min NE 0, sec NE 0]) EQ 0 THEN return, long(res) $ 
     37  IF total([hour NE 12, min NE 0, abs(sec) GE 1.e-4]) EQ 0 THEN return, long(res) $ 
    3838  ELSE return, double(res) + (hour / 24.0d0) + (min/1440.0d0) + (sec / 86400.0d0) 
    3939 
Note: See TracChangeset for help on using the changeset viewer.