Commit d908f96
ORC-2021: Fallback to UTC when /etc/localtime does not exist
### What changes were proposed in this pull request?
This PR aims to fallback to `UTC` when `/etc/localtime` doesn't exist.
### Why are the changes needed?
To handle OSes which doesn't have it.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #2225
Closes #2432 from lahwaacz/timezone-fallback.
Authored-by: Jakub Klinkovský <1289205+lahwaacz@users.noreply.github.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>1 parent b50fb37 commit d908f96
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
780 | 786 | | |
781 | 787 | | |
782 | 788 | | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
783 | 800 | | |
784 | 801 | | |
785 | 802 | | |
| |||
0 commit comments