This Pull Request introduces changes to the shunsock/timezone_translator repository. The main focus is to enhance the functionality by translating local timezone strings to the desired timezone.
💥 Breaking Changes
Implemented feature to read local timezone AS STRING (not offset)
Added tests to ensure the new functionality works as expected.
new version interpret timezone as string because it read following
TZ variable in environment variable
/etc/localtime
/etc/timezone
If tz translator fails to correct timezone from above sources, it returns panic.
Description
This Pull Request introduces changes to the shunsock/timezone_translator repository. The main focus is to enhance the functionality by translating local timezone strings to the desired timezone.
💥 Breaking Changes
Implemented feature to read local timezone AS STRING (not offset) Added tests to ensure the new functionality works as expected.
new version interpret timezone as string because it read following
TZ
variable in environment variable/etc/localtime
/etc/timezone
If tz translator fails to correct timezone from above sources, it returns panic.