Changeset 920


Ignore:
Timestamp:
08/12/16 19:57:58 (8 years ago)
Author:
mhnguyen
Message:

Ticket 100: Correct format name of splitted output file

Test
+) Local
+) Correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/file.cpp

    r878 r920  
    369369         size_t pos1, pos2 ; 
    370370         bool hasStartDate=false ; 
    371          bool hasEndDate=false ;    
     371         bool hasEndDate=false ; 
     372         bool hasSplit = (!split_freq.isEmpty()); 
    372373                   
    373374         pos1=filename.find(strStartDate) ; 
     
    396397           hasEndDate=true; 
    397398           firstPart=middlePart ; 
     399           if (hasSplit) firstPart +="_"; 
    398400           middlePart="-" ; 
    399401         } 
    400 //    
     402    
    401403         StdOStringStream oss; 
    402404 
Note: See TracChangeset for help on using the changeset viewer.