Changeset 17726 in josm
- Timestamp:
- 2021-04-09T19:07:31+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/animation/AnimationExtensionManager.java
r17719 r17726 3 3 4 4 import java.time.LocalDate; 5 import java.time.ZoneId; 5 6 6 7 import org.openstreetmap.josm.data.preferences.BooleanProperty; … … 43 44 44 45 private static boolean isChristmas() { 45 return LocalDate.now( ).getDayOfYear() > 350;46 return LocalDate.now(ZoneId.systemDefault()).getDayOfYear() > 350; 46 47 } 47 48 }
Note:
See TracChangeset
for help on using the changeset viewer.