Menu

#2 Adjusting the hour

open
nobody
None
5
2007-12-23
2007-12-23
No

I'm not very good at PHP so I'm not able to fix this issue on my own. So I am coming here to suggest that the script be modified to allow users to adjust their time settings.

All the stats for my hits are 2 hours behind. The "Report Date" timestamp at the top of the report page is also 2 hrs behind. I think part of the problem is that we're on Daylight Savings Time. Also, my hosts' server might be in another time zone. So hits that I'm getting at 5PM are showing as 3PM, which also skews my daily stats by several hundred hits.

I'm sure the fix for this is very simple. I just don't know how to do it, which means there are others with the same problem.

Could a setting be added that can shift the script's base time?

Maybe the "Report Date" field at the top can be changed to say "Current Time" and then there can be a link next to the time that says "edit..." Once that link is clicked, the user can edit their time zone and maybe also have an option to retroactively update the records in the database, shifting all entries by the appropriate number of hours. If the user doesn't choose to update past entries, then only future entries will reflect the time change. Maybe the user can also edit the date format used to display the current time at the top of the report.

These are just suggestions. Hope they are useful. Thanks.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.