[Koha-bugs] [Bug 24980] Date formatting from JS - use timezone only with dates with offset

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 8 22:20:29 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24980

--- Comment #24 from Agustín Moyano <agustinmoyano at theke.io> ---
(In reply to Jonathan Druart from comment #23)
> (In reply to Jonathan Druart from comment #22)
> > (In reply to Agustín Moyano from comment #20)
> > > (In reply to Jonathan Druart from comment #18)
> > > > How do I test the timezone handling in real life? ie. without using the
> > > > console.
> > > 
> > > Actually there is no place (even bug 20936) that brings timestamp or
> > > datetime. If you want to try to see if it works with koha's configured
> > > timezone you should use the console without the tz option, then format a
> > > datetime with timezone. Later change koha's timezone, restart plack and
> > > reload the page and try to format the same datetime, it should change
> > > according to the new timestamp
> > > 
> > > If it works in the console, it should work on real life (it's the same
> > > function)
> > 
> > Do we need it then?
> 
> Changing status as we are waiting for an answer.

Yes, I think we do.. I'm sure at some point there's going to be a datatable
that brings a datetime or timestamp from the database.

If you'd like to test without console, you can locally modify the table in bug
20936 and display the timestamp column, that it's a timestamp as it's name
suggests.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list