groupoffice icon indicating copy to clipboard operation
groupoffice copied to clipboard

6.7.x - datetimefield

Open michalcharvat opened this issue 1 year ago • 3 comments

There is hug bug in datetimefield, respectively in Date override / extension. If you serialize date with 00:00:00 it is always converts to date only which is basically wrong because you loose info about timezone.

image

michalcharvat avatar Jun 17 '24 22:06 michalcharvat

I can't replicate it. If I set a date with 0:00 it's saved correctly: image

mschering avatar Jun 18 '24 07:06 mschering

You can easily replicated it if you change user's timezone.

GMT timezone image

Europe/Prague or Berlin... image

When you access GO which runs in Europe from USA, there are other problem mostly in calendars and email. However in this case date is always send in Y-m-d format which is stored to database and loaded back in user's timezone ie instead of 0000 you get 0200 immediately after save.

michalcharvat avatar Jun 18 '24 09:06 michalcharvat

@mschering Any hint? For what is there that logic? Date fields without time?

michalcharvat avatar Jun 18 '24 14:06 michalcharvat