Changeset 5929 in josm
- Timestamp:
- 2013-05-06T00:45:32+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/VersionInfoPanel.java
r5926 r5929 94 94 ); 95 95 } else { 96 String date = "?"; 97 if (primitive.getTimestamp() != null) { 98 date = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(primitive.getTimestamp()); 99 } 96 100 text = tr( 97 101 "<html>Version <strong>{0}</strong> created on <strong>{1}</strong></html>", 98 Long.toString(primitive.getVersion()), 99 DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(primitive.getTimestamp()) 100 ); 102 Long.toString(primitive.getVersion()), date); 101 103 } 102 104 return text; 103 105 } 104 106 107 /** 108 * Constructs a new {@code VersionInfoPanel}. 109 */ 105 110 public VersionInfoPanel() { 106 111 pointInTimeType = null;
Note:
See TracChangeset
for help on using the changeset viewer.