Ticket #21774: 21774.patch
| File 21774.patch, 918 bytes (added by , 4 years ago) |
|---|
-
src/org/openstreetmap/josm/plugins/infomode/InfoPanel.java
10 10 import java.awt.event.MouseEvent; 11 11 import java.text.DateFormat; 12 12 import java.util.Collection; 13 import java.util.Date; 13 14 import java.util.HashSet; 14 15 import java.util.Set; 15 16 … … 108 109 label1.setText(tr("No timestamp")); 109 110 but2.setVisible(false); 110 111 } else { 111 label1.setText(DateUtils. formatDateTime(wp.getDate(), DateFormat.DEFAULT, DateFormat.DEFAULT));112 label1.setText(DateUtils.getDateTimeFormat(DateFormat.DEFAULT, DateFormat.DEFAULT).format(Date.from(wp.getInstant()))); 112 113 but2.setVisible(true); 113 114 } 114 115 if (vel > 0) {
