Hi,

I opened a discussion with colleague again, based on your answer. And
result is - he think that he is in EST timezone, but in real, it is EDT
timezone now (he is in Toronto).

And in the online results it is correct too:
 - https://duckduckgo.com/?q=convert+EST+time+to+CEST&t=ffab&ia=web

It is just hidden... Between what I asked for and what wanted to know.

So, it looks tzdata are correct and I got perfectly correct answer to my
wrong question...

Thank you, you can close this ticket with peace in mind...

Have a nice day, Michal Heppler

V Mon, Jul 15, 2024 at 08:12:14PM +0100, Adam D. Barratt napsal(a):
> On Mon, 2024-07-15 at 15:53 +0200, Michal Heppler wrote:
> > I noticed that thew `date -d ...` utility converts time between EST
> > and CEST timezone in wrong way. The time is shifted by 1 hour later:
> > 
> > # cat /etc/timezone
> > Europe/Prague
> > # date -d '7:00AM EST'
> > Po 15. července 2024, 14:00:00 CEST
> > 
> > Env. LANG and LC_* does not change result, just not localised:
> > 
> > # date -d '07:00 EST'
> > Mon Jul 15 14:00:00 CEST 2024
> > 
> > The expected time is 13:00 CEST.
> 
> I may be missing something here, but... EST is UTC-0500, and CEST is
> UTC+0200. The difference between the two is therefore 7 hours, which is
> what the above shows.
> 
> Are you perhaps confusing the meanings of the "S" in each of the
> abbreviations? While CEST is Central European Summer Time - i.e.
> observing daylight savings - EST is Eastern _Standard_ Time, i.e. _not_
> observing daylight savings. The equivalent of CEST for the Eastern
> timezone is EDT.
> 
> Regards,
> 
> Adam

-- 

 __________________________________
/ Štěstí vzniká jen co by vedlejší \
| produkt - stejně jako koks.      |
|                                  |
\ -- Huxley                        /
 ----------------------------------

Reply via email to