Ignore:
Timestamp:
10/19/12 16:09:47 (12 years ago)
Author:
sdipsl
Message:
  • strange behaviour when reducing the scope of year and month variable within IGCM_date_DaysIn*Period

==> the function IGCM_date_GetYearMonth then behave strangely.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_date/libIGCM_date.ksh

    r723 r732  
    843843  IGCM_debug_PushStack "IGCM_date_DaysInPreviousPeriod" $@ 
    844844 
    845   typeset Length Period year0 year month i 
     845  typeset Length Period year0 i 
    846846 
    847847  Period=${2} 
     
    907907  IGCM_debug_PushStack "IGCM_date_DaysInNextPeriod" $@ 
    908908 
    909   typeset Length Period year0 year month i 
     909  typeset Length Period year0 month0 i 
    910910 
    911911  Period=${2} 
     
    966966  IGCM_debug_PushStack "IGCM_date_DaysInCurrentPeriod" $@ 
    967967 
    968   typeset Length Period year0 year month i 
     968  typeset Length Period year0 i 
    969969 
    970970  Period=${2} 
Note: See TracChangeset for help on using the changeset viewer.