Date is updated when I edit a file
Posted: 16 Feb 2011, 16:57
Hi all:
When I create a new file from administrator frontend (Components -> Phoca Download -> Files -> New) I fill some fields (Title + Category + Filename) and I save it. All ok.
If I edit the same file again I can see that the 'Date' (2011-02-16 15:19:05) and 'Start publishing' (2011-02-16 00:00:00) fields in 'Publishing details' have been correctly filled, ok. Now I save this item again (changing or not some field(s)) and I edit it again. The 'Date' (2011-02-16 14:19:05) and 'Start publishing' (2011-02-15 23:00:00) have new values because (I suppose) my server is in UTC+1:00 timezone.
If I change the server's timezone in Site -> Global Configuration -> Server -> Server Time Zone = UTC the 'Date' and 'Start publishing' fields have correct values when I save the file item, but, of course, they are showed in UTC timezone, not UTC+1:00 so they show localtime - 1:00.
It only happens whith File items, not whith others (normal articles).
(Phocadownload version 2.0.0 RC with J!1.6)
Thx
When I create a new file from administrator frontend (Components -> Phoca Download -> Files -> New) I fill some fields (Title + Category + Filename) and I save it. All ok.
If I edit the same file again I can see that the 'Date' (2011-02-16 15:19:05) and 'Start publishing' (2011-02-16 00:00:00) fields in 'Publishing details' have been correctly filled, ok. Now I save this item again (changing or not some field(s)) and I edit it again. The 'Date' (2011-02-16 14:19:05) and 'Start publishing' (2011-02-15 23:00:00) have new values because (I suppose) my server is in UTC+1:00 timezone.
If I change the server's timezone in Site -> Global Configuration -> Server -> Server Time Zone = UTC the 'Date' and 'Start publishing' fields have correct values when I save the file item, but, of course, they are showed in UTC timezone, not UTC+1:00 so they show localtime - 1:00.
It only happens whith File items, not whith others (normal articles).
(Phocadownload version 2.0.0 RC with J!1.6)
Thx