| @@ 982-985 (lines=4) @@ | ||
| 979 | } |
|
| 980 | $timestamps = array('modified','created','deleted'); |
|
| 981 | } |
|
| 982 | else |
|
| 983 | { |
|
| 984 | $timestamps = array('start','end','modified','created','recur_enddate','recurrence','recur_date','deleted'); |
|
| 985 | } |
|
| 986 | // we convert here from the server-time timestamps to user-time and (optional) to a different date-format! |
|
| 987 | foreach ($timestamps as $ts) |
|
| 988 | { |
|
| @@ 1251-1254 (lines=4) @@ | ||
| 1248 | // all-day events are handled in server time |
|
| 1249 | // $event['tzid'] = $save_event['tzid'] = Api\DateTime::$server_timezone->getName(); |
|
| 1250 | } |
|
| 1251 | else |
|
| 1252 | { |
|
| 1253 | $timestamps = array('start','end','modified','created','recur_enddate','recurrence'); |
|
| 1254 | } |
|
| 1255 | // we run all dates through date2ts, to adjust to server-time and the possible date-formats |
|
| 1256 | foreach($timestamps as $ts) |
|
| 1257 | { |
|