The default time zone in TimeZone.getDefault is PST. This means that if the code fails to find the local time zone it will default to JavaSoft's local time zone. In other words, a failure will look just like correct behavior.
The default should be changed to GMT so that bugs will show up. Also, GMT is a more neutral choice.
The default should be changed to GMT so that bugs will show up. Also, GMT is a more neutral choice.
- duplicates
-
JDK-4069784 TimeZone.getDefault() returns incorrect time zome.
-
- Closed
-