[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  Forum
. -> [Folder]  Problems
. . -> [Subject]  Post timestamps lack the time part if it's 12:00 AM
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

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] Refresh page


Posted by Twisol   USA  (2,257 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (21,383 posts)  [Biography] 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
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] 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
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] 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
[Go to top] 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.


4,258 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]