My server is in Arizona, I want to set my galleries to central time. According to the note in the options that should be (-7) - (-6), so an offset of -1. The time zones will not change away from mountain time. How can I get that changed?
I am not sure what you are asking. The timezone of the server is the timezone of the server. The offset is used when computing dates such as those of comment posting.
Yes exactly. My server is in MST. My album dates are displayed in MST. I want them to display as CST, which is what the offset should be handling. No matter what number I use as the offset, the time zone displayed doesn't change.
Album dates are initially set from the date of the first image encountered. Image dates are set from the EXIF/IPTC data if that exists. If there is no EXIF/IPTC date then the image date is set from the filemtime of the image. It is only in this last case that the server time comes into bearing.
Right now, that time is not offset. We will correct this, but it is unusual for an image not to have an EXIF/IPTC date. Those dates are what is set by your camera, so they do not get offset.
The dates do match the file time from the images, it's just off an hour because it is displaying as MST instead of CST.
For example, some of the pictures I personally took on my phone. There is no EXIF date on those pictures. The file time is 2:31 CST. On the site those photos display as 1:31 MST, so the date is being offset... it's just not letting me control it.
Currently zenphoto does not provide a way to override the timezone of your server so dates displayed by PHP will present the timezone of the server if you choose that in the format. I suggest you not display the timezone in your date formats.
Alternatively, you can set the timezone in your PHP.ini file to your local timezone.
Comments
Right now, that time is not offset. We will correct this, but it is unusual for an image not to have an EXIF/IPTC date. Those dates are what is set by your camera, so they do not get offset.
For example, some of the pictures I personally took on my phone. There is no EXIF date on those pictures. The file time is 2:31 CST. On the site those photos display as 1:31 MST, so the date is being offset... it's just not letting me control it.
Alternatively, you can set the timezone in your PHP.ini file to your local timezone.