Changeset 11667 in josm for trunk/scripts
- Timestamp:
- 2017-03-04T21:16:29+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/SyncEditorLayerIndex.groovy
r11666 r11667 320 320 cal.set(reg[0][2] as Integer, reg[0][4] == null ? 0 : (reg[0][4] as Integer)-1, reg[0][6] == null ? 1 : reg[0][6] as Integer) 321 321 cal.add(Calendar.DAY_OF_MONTH, -1) 322 ed2 = cal.get(Calendar.YEAR) 322 ed2 = reg[0][1] + cal.get(Calendar.YEAR) 323 323 if (reg[0][4] != null) 324 324 ed2 += "-" + String.format("%02d", cal.get(Calendar.MONTH)+1)
Note:
See TracChangeset
for help on using the changeset viewer.