mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2024-11-25 14:56:09 +03:00
fix: correctly convert timezone offset from Java TimeZone.getRawOffset() to arg for golang time.FixedZone
This commit is contained in:
parent
346096aab7
commit
669e644d81
@ -14,7 +14,7 @@ class TimeZoneModule(service: Service) : Module<Unit>(service) {
|
||||
while (true) {
|
||||
val timeZone = TimeZone.getDefault()
|
||||
|
||||
Clash.notifyTimeZoneChanged(timeZone.id, timeZone.rawOffset)
|
||||
Clash.notifyTimeZoneChanged(timeZone.id, timeZone.rawOffset / 1000)
|
||||
|
||||
timeZones.receive()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user