Changeset 589


Ignore:
Timestamp:
04/15/15 14:59:11 (9 years ago)
Author:
rlacroix
Message:

Fix incorrect end date in the output files' names when using splitting.

Location:
XIOS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/branchs/xios-1.0/src/node/file.cpp

    r501 r589  
    271271           } 
    272272           else splitFormat=split_freq_format ; 
    273            oss<<"_"<<lastSplit->getStr(splitFormat)<<"-"<< (*lastSplit+(splitFreq-1*Second)).getStr(splitFormat); 
     273           oss<<"_"<<lastSplit->getStr(splitFormat)<<"-"<< (*lastSplit + splitFreq - 1 * Second).getStr(splitFormat); 
    274274         } 
    275275            
  • XIOS/trunk/src/node/file.cpp

    r567 r589  
    321321           else splitFormat=split_freq_format ; 
    322322           oss << "_" << lastSplit->getStr(splitFormat) 
    323                << "-" << (*lastSplit + (split_freq.getValue() - 1 * Second)).getStr(splitFormat); 
     323               << "-" << (*lastSplit + split_freq.getValue() - 1 * Second).getStr(splitFormat); 
    324324         } 
    325325 
Note: See TracChangeset for help on using the changeset viewer.