Changeset 31299 in osm for applications/editors/josm/plugins/mapillary/src/org
- Timestamp:
- 2015-06-23T16:43:27+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/MapillaryAbstractImage.java
r31296 r31299 5 5 import java.text.SimpleDateFormat; 6 6 import java.util.Calendar; 7 import java.util.TimeZone; 7 8 8 9 import org.openstreetmap.josm.Main; … … 146 147 else 147 148 format += "dd/MM/yyyy"; 148 if (Main.pref.getBoolean("mapillary.display-hour")){ 149 if (Main.pref.getBoolean("mapillary.display-hour", true)){ 149 150 if (Main.pref.getBoolean("mapillary.format-24")) 150 format += " - HH:mm:ss"; 151 format += " - HH:mm:ss (z)"; 151 152 else 152 format += " - h:mm:ss a"; 153 format += " - h:mm:ss a (z)"; 153 154 } 154 155 return getDate(format); … … 173 174 174 175 SimpleDateFormat formatter = new SimpleDateFormat(format); 176 formatter.setTimeZone(TimeZone.getTimeZone("GMT")); 175 177 return formatter.format(date); 176 178 } -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/MapillaryMouseAdapter.java
r31298 r31299 7 7 8 8 import org.openstreetmap.josm.Main; 9 import org.openstreetmap.josm.actions.mapmode.MapMode;10 9 import org.openstreetmap.josm.data.coor.LatLon; 11 10 import org.openstreetmap.josm.data.osm.OsmPrimitive;
Note:
See TracChangeset
for help on using the changeset viewer.