diff options
author | Yuchen Pei <hi@ypei.me> | 2021-08-23 14:51:21 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2021-08-23 14:51:21 +1000 |
commit | f1d63ccf6b817e88fdc6274a3904106985049719 (patch) | |
tree | d9e6f4b2389c026d24aba1c7bc2936704e4c9190 /pages/index.org | |
parent | 346c33f3856adf012f7a1e0da1a5eb9545c8badc (diff) |
updating timezone conversion example
Diffstat (limited to 'pages/index.org')
-rw-r--r-- | pages/index.org | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/index.org b/pages/index.org index 0320495..3dbff1c 100644 --- a/pages/index.org +++ b/pages/index.org @@ -75,13 +75,13 @@ We will watch [[https://lca2021.linux.org.au/schedule/presentation/58/][A Compre To convert time using GNU coreutils available in common GNU/Linux distributions, first check the timezone on your computer: #+begin_src sh $ ls -l /etc/localtime -lrwxrwxrwx 1 root root 41 May 1 00:58 /etc/localtime -> ../usr/share/zoneinfo/Australia/Perth +lrwxrwxrwx 1 root root 41 May 1 00:58 /etc/localtime -> ../usr/share/zoneinfo/Europe/Zurich #+end_src If you are happy with the output, invoke #+begin_src sh $ date -d '2021-08-23 20:00 UTC+10' -Mon 23 Aug 18:00:00 AWST 2021 +Mon 23 Aug 11:00:00 CEST 2021 #+end_src * Code of Conduct |