Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ Forum
➜ Problems
➜ Post timestamps lack the time part if it's 12:00 AM
Post timestamps lack the time part if it's 12:00 AM
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Mon 16 May 2011 08:13 AM (UTC) |
Message
| Topic says it all. I noticed this because one of my recent posts on another thread [1] only has the date part of the timestamp.
[1]: http://www.gammon.com.au/forum/?id=11106 |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Mon 16 May 2011 08:39 AM (UTC) |
Message
| I'm pretty sure there is a post about this but can't find it.
I think the reason is that when the "old forum" posts were copied across, they only had a date, and thus the time was set to zero. So rather than suggest that everyone posted at midnight, the time is suppressed if zero. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #2 on Mon 16 May 2011 08:48 AM (UTC) Amended on Mon 16 May 2011 08:49 AM (UTC) by Twisol
|
Message
| I remembered one too, but I couldn't find it either. And now that you explained it to me I remember the reason also. Hmm, could it have been me who reported it before? Fishy..,
Thanks!
[EDIT]: This was my 2011th post (as in the current year). Hmm, I was hoping it would be a little more useful. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #3 on Tue 17 May 2011 01:12 AM (UTC) |
Message
| As a somewhat hacky solution, perhaps when posts are created you could check if the timestamp is exactly 12:00 AM. If it is, bump the minute up one. It only affects new posts and leaves the legacy ones alone. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
15,755 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top