Crish19 / AMIKE11-FRONT-

0 stars 0 forks source link

Time zones #2

Open Gullbra opened 3 weeks ago

Gullbra commented 3 weeks ago

I've only made one quick look-through, so I might have missed it, but I can't see anywhere where the time zones are being handled.

The javascript Date class is famously bad at handling time zones - which is probably why it the app behaves strangely. i'd suggest handling the time zones outside the Date objects.

Some ideas on handling timezones:

Crish19 commented 3 weeks ago

Martin !

Gracias hermano . Cuando llegue a casa reviso y para vernos en persona te invito un almuerzo.

Cristhian Hernandez Mobile: 00593967551862 Skype: cristhianhernandez19 Ecuador

On Sun, 9 Jun 2024 at 17:12, Martin Gullbrandsson @.***> wrote:

I've only made one quick look-through, so I might have missed it, but I can't see anywhere where the time zones are being handled.

The javascript Date class is famously bad at handling time zones - which is probably why it the app behaves strangely. i'd suggest handling the time zones outside the Date objects.

Some ideas on handling timezones:

- https://toastui.medium.com/handling-time-zone-in-javascript-547e67aa842d

https://stackoverflow.com/questions/439630/create-a-date-with-a-set-timezone-without-using-a-string-representation/439871#439871

— Reply to this email directly, view it on GitHub https://github.com/Crish19/AMIKE11-FRONT-/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWJD4R4FN3DE5XTMPDKJU5DZGRWG3AVCNFSM6AAAAABJA63PL2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DEMZSHE4TAMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Gullbra commented 3 weeks ago

Sin problema amigo! Me encantaria, solo cuenteme cuando puedes y nos encontramos y charlamos!

Martin Gullbrandsson Tel: +46 76 305 16 55 mail: martingullbrandssonmoreira@hotmail.com