Commit e11ef4a
committed
Read timezone from /etc/localtime
The previous /etc/timezone is not on the system, but written by
xsconsole itself. It's more reasonable to read link from
/etc/localtime.
This is also consistent with XAPI's behavior.
Signed-off-by: Changlei Li <[email protected]>1 parent fe184d2 commit e11ef4a
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
851 | 854 | | |
852 | 855 | | |
853 | 856 | | |
854 | 857 | | |
855 | 858 | | |
| 859 | + | |
| 860 | + | |
856 | 861 | | |
857 | 862 | | |
858 | 863 | | |
| |||
0 commit comments