Commit 9326f3a
committed
Asia/Calcutta frens
* Intl.DateTimeFormat().resolvedOptions().timeZone returns legacy TZ
names, including Asia/Calcutta
* on Heroku we don't have tzdata-legacy package, thus the app cannot
resolve this and other legacy TZs from user input
* mapping legacy TZs on frontend is expensive — additional code to ship
to end-user
We could extend image builds with another buildpack, installing
tzdata-legacy package. We could also include gem, which works
immediately.
Read more:
https://hillenius.net/post/rangoon/
https://app.honeybadger.io/projects/58419/faults/1175680481 parent f45c468 commit 9326f3a
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| 334 | + | |
| 335 | + | |
334 | 336 | | |
335 | 337 | | |
336 | 338 | | |
| |||
0 commit comments