You are not logged in.
I can use this to find out what 0.00h CET is in my time zone:
date -d '0:00 CET'
Now I want to find out what 0.00 CEST would be in my time zone, but this doesn't work:
date -d '0:00 CEST'
date: invalid date ‘0:00 CEST’
Edit: Solution is to use MEST or MESZ instead of CEST.
Last edited by mir91 (2015-01-11 23:57:22)
Offline
Wikipedia mentions CEDT and MEST as alternative names for CEST and MEST seems to work. No clue why the more common (AFAIK) CEST is not recognized.
Offline
Thanks, CEDT doesn't work but MEST seems to.
MESZ apparently works too.
Last edited by mir91 (2015-01-11 23:58:30)
Offline
CEST works here:
$ date -d '0:00 CEST'
Sat 10 Jan 22:00:00 GMT 2015
I wonder if this is a locale thing. I'm using LC_TIME="en_GB.UTF-8".
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I'm using the exact same locale.
Offline
Oh well, so much for that theory.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
FWIW, CEST works fine here too.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline