Ralf Becker
e316379373
* Mail/Calendar/eTemplate2: fix timezone problems of times in grid or lists, if server_timezone differs from php.ini date.timezone
...
- for grid this is a real fix by correctly expanding names in auto-repeated rows and therefor running widgets beforeSendToClient methods
- for nextmatch is is just a hack looking at get_rows content and converting everything "looking" like a timestamp to a "Y-m-d\TH:i:s\Z" string
2014-10-01 19:10:59 +00:00
Ralf Becker
9e60cadb70
fixed date client/server protocol to always just append "Z" after seconds, so apps can compare date values
2014-09-10 10:22:55 +00:00
Nathan Gray
55ae503923
Even more date fixes:
...
- Don't send a date (just 1970-01-01) with timeonly values
- Avoid infinite loop when setting timeonly with timepicker
2014-08-25 19:33:35 +00:00
Nathan Gray
ec1471c6d2
Another attempt at resolving the browser timezone issue
2014-08-19 21:22:26 +00:00
Nathan Gray
5b91e871de
Deal with languages helpfully adding timezones into timestamps
...
Fixes random (12, 6, 7) hours sometimes added to dates
2014-08-18 16:47:27 +00:00
Ralf Becker
febc2f8763
re-added validation for null as it is needed/used by widget-types other then duration
2014-06-12 07:51:41 +00:00
Ralf Becker
5a32a7d622
widgets should NEVER return null (eg. for empty), as server-side $preserv will overwrite it
2014-06-11 09:14:43 +00:00
Hadi Nategh
098de471cd
No need to overwrite the "beforeSendToClient" method for date widget, because we are handling date/time conversion on client side
2014-05-05 14:11:00 +00:00
Nathan Gray
838966ae9e
Properly fix date-timeonly js side to return a timestamp as all date widgets, server side converts it to expected format, same as others.
2013-08-26 17:04:43 +00:00
Nathan Gray
555582eb44
Don't try to format null dates, just pass null back to app
2013-03-20 21:19:56 +00:00
Nathan Gray
868614fd23
Fix validation of durations
2013-02-06 14:36:24 +00:00
Nathan Gray
d37beb2def
Fix non-integer date check
2012-07-23 22:45:24 +00:00
Nathan Gray
df9f42ba3a
Pre-process non-integer dates / times before sending
2012-07-23 22:42:09 +00:00
Nathan Gray
6ae812ff45
Fix date format handling
2012-07-05 18:24:20 +00:00
Ralf Becker
0d66dd98b7
fixed server-side valdation of autorepeated rows/columns
...
had to change signature of validate function to get information for autorepeating through
removed entity-encoding of square brackets, as they mess up validiation (havnt found any negative effects so far)
2012-05-03 14:17:47 +00:00
Nathan Gray
452b7c98e1
Fix typo, accept null values
2011-10-18 16:33:41 +00:00
Ralf Becker
504db7e3ae
validation for date-widgets, needs more testing
2011-09-04 08:37:39 +00:00
Nathan Gray
c84a471538
Implement last of the date widgets
2011-08-30 20:50:55 +00:00