Changeset 25664 in osm for applications/editors/josm/plugins/openstreetbugs/src
- Timestamp:
- 2011-03-22T14:37:37+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/action/OsbAction.java
r22684 r25664 31 31 32 32 import java.awt.event.ActionEvent; 33 import java.text.DateFormat; 33 import java.text.SimpleDateFormat; 34 34 import java.util.ArrayList; 35 35 import java.util.Date; … … 108 108 if(Main.pref.getBoolean(ConfigKeys.OSB_INCLUDE_DATE)) { 109 109 // get the date 110 DateFormat df = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.LONG, Locale.getDefault()); 111 String date = df.format(new Date()); 110 String date = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss z", Locale.ENGLISH).format(new Date()); 112 111 113 112 // concatenate nickname and date
Note:
See TracChangeset
for help on using the changeset viewer.