Commit fb2a40a
fix: Use DST-aware timezone offset calculation
Change timezoneOffset from rawOffset to getOffset(currentTime) to properly
account for Daylight Saving Time. The rawOffset only returns the base UTC
offset without DST adjustment, which gives incorrect results during DST
periods.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 51cc67e commit fb2a40a
File tree
1 file changed
+2
-2
lines changed- device-sdk/src/main/java/com/maxmind/device/collector
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
| 143 | + | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
0 commit comments