Ignore:
Timestamp:
09/07/07 15:40:51 (17 years ago)
Author:
smasson
Message:

bugfix when using double precision calendar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/buildreadcmd.pro

    r262 r279  
    111111    date2 = date2jul(date2) - fakecal 
    112112  ENDIF 
    113   sdate1 = strtrim(date1, 1) & sdate2 = strtrim(date2, 1) 
     113  IF size(date1, /type) EQ 5 THEN sdate1 = string(date1, format='(f15.6)')+'d' $ 
     114  ELSE sdate1 = string(date1, format='(i10)')+'L' 
     115  IF size(date2, /type) EQ 5 THEN sdate2 = string(date2, format='(f15.6)')+'d' $ 
     116  ELSE sdate2 = string(date2, format='(i10)')+'L' 
    114117;--------------- 
    115118; find boxzoom 
Note: See TracChangeset for help on using the changeset viewer.