Date is updated when I edit a file

Phoca Download - download manager
binovo
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 07 Feb 2011, 12:51

Date is updated when I edit a file

Post by binovo »

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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Date is updated when I edit a file

Post by Jan »

Hi, thank you for this info, I will take a look at it and will try to do some tests.

Jan
If you find Phoca extensions useful, please support the project
binovo
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 07 Feb 2011, 12:51

Re: Date is updated when I edit a file

Post by binovo »

Updated to version 2.0.0 RC2 and updates still happen. :x
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Date is updated when I edit a file

Post by Jan »

I have not tested for RC2, this will be tested in RC3
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Date is updated when I edit a file

Post by Jan »

Fixed in RC3
If you find Phoca extensions useful, please support the project
Post Reply