Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing tzdata in 2.10+ images #252

Open
tsafin opened this issue Jan 31, 2023 · 1 comment
Open

Missing tzdata in 2.10+ images #252

tsafin opened this issue Jan 31, 2023 · 1 comment

Comments

@tsafin
Copy link

tsafin commented Jan 31, 2023

Since 2.10.0, if one need to operate with timezone names, then he needs to preinstall tzdata package as binary dependency before running corresponding Tarantool operations, otherwise Tarantool fails to parse timezone name:


tarantool> _TARANTOOL
---
- 2.10.0-1-g370040ca1
...

tarantool> require"datetime".TZ["Europe/Moscow"]
---
- 947
...

tarantool> require("datetime").new{ timestamp = os.time(), tz = 'Europe/Moscow' }
---
- error: 'builtin/datetime.lua:479: could not parse ''Europe/Moscow'''
...

i.e. we need to add tzdata package to all Alpine, Ubuntu, etc. docker images.

@tsafin
Copy link
Author

tsafin commented Jan 31, 2023

Relates to tarantool/tarantool#8238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant