Cannot change album date

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.

Comments

  • acrylian Administrator, Developer
    Please review your server error log.
  • No errors stored into the server error log.
  • acrylian Administrator, Developer
    Any other errors, browser one? If you are not on the current release please upgrade.
  • 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.
  • 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.
  • acrylian Administrator, Developer
    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?
  • 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.
  • 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.
  • acrylian Administrator, Developer
    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.
  • 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.
  • 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.
  • acrylian Administrator, Developer
    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.
  • 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!
  • acrylian Administrator, Developer
    @sbillard: He already told that he is using 1.4.1.4.
Sign In or Register to comment.