marklogic-community / demo-cat

An application to help SEs find good demos and record bugs and RFEs on them. AngularJS talks to the MarkLogic database via the REST API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't touch entries disappear too quickly

grtjn opened this issue · comments

commented

Client-side code doesn't compensate for timezone, nor for duration..

commented

It was a bit more complicated. The date/time picker operates in browser timezone, that is where first things go wrong. You have to manually strip timezone, and apply event timezone. Upon loading you have to do the reverse, put event date/time into local timezone to make it possible to display the time as in event timezone, and to make it show correctly in date/time picker as well.

I took the effort of creating a second, temporary date/time property with the event start in local timezone, and actually show event start in both original, and local timezone for user convenience..

commented

Fixed in dev