You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When not in daylight savings time, and displaying the date format as %B %e, %Y @ %l:%M %p, all times show 1 hour later.
This results in two issues:
The file creation times do not align with the actual local time in which they were created.
If you create a file after 23:00 local time, the timestamp displays as today's date and a time of 12:XX PM. It should display tomorrow's date, at 12:XX AM. If the first issue was corrected, then this would likely not happen.
As a concrete example:
File creation time (server's local time): November 26, 2023 @ 11:08 PM Current time when browsing to the server (server and client's local time): November 26, 2023 @ 11:15 PM File date displayed in browser: November 26, 2023 @ 12:08 PM What should be displayed in browser: November 26, 2023 @ 11:08 PM
nginx configuration:
server {
listen 80;
server_name print-server;
types {
# Specify MIME type for .log files
text/plain log;
# Ensuring PDF files are served correctly
application/pdf pdf;
}
location / {
alias /data/cifs/;
fancyindex on;
fancyindex_exact_size off;
fancyindex_time_format "%B %e, %Y @ %l:%M %p";
fancyindex_localtime on;
fancyindex_default_sort date;
fancyindex_directories_first on;
}
}
The text was updated successfully, but these errors were encountered:
When not in daylight savings time, and displaying the date format as
%B %e, %Y @ %l:%M %p
, all times show 1 hour later.This results in two issues:
As a concrete example:
File creation time (server's local time): November 26, 2023 @ 11:08 PM
Current time when browsing to the server (server and client's local time): November 26, 2023 @ 11:15 PM
File date displayed in browser: November 26, 2023 @ 12:08 PM
What should be displayed in browser: November 26, 2023 @ 11:08 PM
nginx configuration:
The text was updated successfully, but these errors were encountered: