Ignore:
Timestamp:
05/06/07 14:42:15 (15 years ago)
Author:
domlowe
Message:

basics of QXF subsetting working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/csmllibs/csmltime.py

    r2395 r2547  
    3535        elif len(item)==3: 
    3636            item='0'+item 
     37        else: 
     38            item=item + ':' 
    3739        newtime=newtime + item 
    38     csmlt=newdate[:-1]+'T'+newtime 
     40    if newtime[-1] == ':': 
     41        csmlt=newdate[:-1]+'T'+newtime[:-1] 
     42    else: 
     43        csmlt=newdate[:-1]+'T'+newtime 
    3944    return str(csmlt) 
    4045                 
Note: See TracChangeset for help on using the changeset viewer.