Member
Member
phpone   2011-10-15, 15:52
#1

Hello,
I'm trying to change the date of my albums.
I imported via FTP some folders and the date showing is yesterday (date when I uploaded them).
I tried to set the date manually into admin-edit.php but without success: when i save the changes the date turns automatically back to the wrong date.
I rebuilded also metadata, database and i still have that problem.

Thanks in advance for the reply.
Regards.

Administrator
Administrator
acrylian   2011-10-15, 17:26
#2

Please review your server error log.

Member
Member
phpone   2011-10-15, 19:31
#3

No errors stored into the server error log.

Administrator
Administrator
acrylian   2011-10-16, 07:07
#4

Any other errors, browser one? If you are not on the current release please upgrade.

Member
Member
phpone   2011-10-16, 08:58
#5

Nothing, when i change the date and save i get also the "changes saved" green bar. I'm using the latest version 1.4.1.4 with the default template.

Member
Member
phpone   2011-10-16, 09:21
#6

Ok, i've found the bug!
Album dates in admin-edit.php are in "2011-07-31 03:28:43" format.
Into the admin options i've set another date/time format (31/07/2011).
When i edit the date with the datepicker it sets the date as 31/07/2011 but when i save it won't get saved and it turns to 2011-07-31 03:28:43.
The admin edit can only accept dates as 2011-07-31 03:28:43.

Administrator
Administrator
acrylian   2011-10-16, 10:18
#7

Sorry, I cannot reproduce this with the current release. The date picker inserts the proper international date format and also saves correctly (just tried on our own site with an album and a news article).

What browser do you use, any javascript errors?

Member
Member
sbillard   2011-10-16, 17:27
#8

I guess I do not understand. Are you just saying that the date format shown in admin is the international one? Or is the date when in that format not being saved so reverts to a different one?

If the failure is when you set the date to 31/07/2011 then most likely your server is not configured to presume European dates. There is no month 31 in American dates so it would be treated as an error.

Member
Member
phpone   2011-10-20, 18:26
#9

Maybe a pair of screenshots are better.
I'm not so good in english explaining problems!

In the options i have
http://img412.imageshack.us/img412/5690/98347809.jpg

but when i go to modify an album i see
http://img208.imageshack.us/img208/7649/83165802.jpg

when i use the datepicker i get
http://img839.imageshack.us/img839/811/69091172.jpg

but when i save the date turns into the old date (the date when the ftp directory was created in the format of http://img208.imageshack.us/img208/7649/83165802.jpg)

i didn't set the date to 31/07/2011, the datepicker sets it.

Administrator
Administrator
acrylian   2011-10-20, 18:35
#10

The dates 2011-10-09 and 09/10/2011 (both 9th October) used in the screenshots are the same, so so far I cannot see anything being reverted.

Member
Member
sbillard   2011-10-20, 18:42
#11

No, I am afraid your pictures do not make anything clear. Datapicker has set the date to the international format as it should. In addition, I do not see any picture that indicates there is a problem.

There is one picture of the date being 9/10/2011, but of course there is no way for me to know how that was entered. If you did enter it manually it is of course not correct. Your date format says it should be "25-02-1989" which is the European format. "9/10/2011" would of course be the American one.

At any rate, Datepicker always inserts the international date format.

Member
Member
phpone   2011-10-21, 11:38
#12

The american format 9/10/2011 was entered by the datepicker.
The problem is that when the datepicker sets the american format the date turns into the old date when i save (the date when the ftp directory was created).

Datepicker is setting the american format, not the international one.

Administrator
Administrator
acrylian   2011-10-21, 15:47
#13

Sorry, your screenshots do not show any revertion. On all I see 2011-10-09 (international) and 09/10/2011 (US) which are the same date. Which is 9th October 2011.

So nothing is reverted. Please try to provide a clear example. Btw, the actual field format is not affected by the setting. That is only for the theme side. Zenphoto stores dates in international format.

Member
Member
sbillard   2011-10-21, 16:46
#14

I think I before mentioned. The datepicker does ONLY enter the ISO date format. If you are seeing something different then you are not running a current Zenphoto. Naturally you did not think it important to tell us what version as required by our forum rules!

Administrator
Administrator
acrylian   2011-10-21, 18:40
#15

@sbillard: He already told that he is using 1.4.1.4.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.