Changeset 3235 in josm for trunk/src


Ignore:
Timestamp:
2010-05-12T20:33:19+02:00 (10 years ago)
Author:
jttt
Message:

Fix #5013 gpx info shows time in weird format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java

    r3208 r3235  
    427427
    428428                    int diff = (int) (latest.time - earliest.time);
    429                     info.append(" (" + (diff / 3600) + ":" + ((diff % 3600) / 60) + ")");
     429                    info.append(String.format(" (%d:%02d)", diff / 3600, (diff % 3600) / 60));
    430430                }
    431431
Note: See TracChangeset for help on using the changeset viewer.