Changeset b74bbf2


Ignore:
Timestamp:
02/13/11 22:14:07 (4 years ago)
Author:
xkolman2 <xkolman2@…>
Branches:
master
Children:
f5fa145
Parents:
d936a94
git-author:
xkolman2 <xkolman2@…> (02/13/11 22:14:07)
git-committer:
xkolman2 <xkolman2@…> (02/13/11 22:14:07)
Message:

remove some old icons
fix wrong (always the same) timestamp for tracklog points

git-svn-id: https://nlp.fi.muni.cz/svn/gps_navigace/trunk@297 0858a4d0-ffff-46e5-938e-62b5ecb34222

Files:
4 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • modules/upoints/gpx.py

    r6101706 rb74bbf2  
    173173            location += " @ %sm" % self.elevation 
    174174        if self.time: 
    175             location += " on %s" % self.time.isoformat() 
     175            location += " on %s" % self.time # modified for modRana 
     176#            location += " on %s" % self.time.isoformat() 
    176177        if self.name: 
    177178            text = ["%s (%s)" % (self.name, location), ] 
     
    221222            """modrana: 
    222223               the previous format was using current time type sufix 
    223                this was chcnged just to "Z", as demanded by the spcification 
     224               this was changed just to "Z", as demanded by the specification 
    224225               the time should be just UTC, not local time 
    225226            """ 
    226             element.append(elementise("time", None, time.strftime("%Y-%m-%dT%H:%M:%SZ"))) 
     227#            element.append(elementise("time", None, time.strftime("%Y-%m-%dT%H:%M:%SZ"))) 
     228            # add Z on the end 
     229            correctTime = "%sZ" % self.time 
     230            element.append(elementise("time", None, correctTime)) 
    227231        return element 
    228232 
Note: See TracChangeset for help on using the changeset viewer.