date plugin (default to current/always show today)

Status
Not open for further replies.

troester

Administrator
Staff member
Wrong offset. my local time is 10:55 (TZ zurich, UTC+2)

Settings1:
default to current, store as local, timeselector on
time shown: 12:55 (wrong: should be 10:55)
time stored: 12:55 (correct related to time shown)

Setting2:
always return today, store as local, timeselector on
time shown in form: 10:55 (correct)
time stored: 8:57 (wrong: 2 minutes may be the time difference between load an save but the hour is wrong)
time shown in list view: 8:57 (correct related to stored time)
time shown in DETAILS view: always the corrent (local) time:confused: (I think this must be the same as in list view)

--------------------------------------------------------------
my local time 11:15
Settings3:
default to current, store as UTC, timeselector on
time shown: 13:15 (wrong: should be 11:15)
time stored: 11:15 (correct related to time shown)
time shown in list and details 13:15 (correct related to stored time)

Setting4:
always return today, store as UTC, timeselector on
time shown in form: 11:15 (correct)
time stored: 7:15 (wrong; UTC is 9:15)
time shown in list view: 9:15 (correct related to stored time)
time shown in DETAILS view: always the current (local) time:confused: (I think this must be the same as in list view)


So "default to current" is showing a wrong time (UTC + 2Xoffset; Hugh fixed this in Fabrik3.0)
"always return today" is storing the wrong time (UTC - offset)
 
I've had a go at fixing all those issues, testing them seems good - also testing with failed validations seems ok as well.
Update is in github
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top