Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Date and Time for previous posts
michaelfasani
New
Answers
The format is defined in config.php (use example (ie. current) available in config-default.php), it's base on strftime format.
There is a mechanism (with some logic) behind showing the time and date when the posts were made. Do you want to break into that mechanism?
Look at some of the really old threads here and then some recent posts in that threads, you'll see the difference in showing date and time for those posts.
There was an error rendering this rich post.
I want to know what time yesterday something was posted.
It just says "September 22nd"
My forum is a Forex forum the forex market is open 24 hours a day.
My users will place images on the site and having time and date when analysing financial charting images is needed.
Cheers for the reply so far :-)
personally, I think your answer lies in this code:
// Alter the timestamp based on the user's hour offset $Session = Gdn::Session(); if ($Session->UserID > 0) $Timestamp += ($Session->User->HourOffset * 3600);
And so there's a user's hour offset somewhere which you can set to whatever to make your dates show up differentlyThere was an error rendering this rich post.
Would it be possible without too much hassle to maybe show the exact timestamp when the date is hovered?
Rgds
If you want to see the exact timestamp (real, long dateformat could be better) You'll have to do some programming then.
<a href="url" alt="alternate">Just a link</a>
By using alt="something" and you hover over it, you'll get that alternate text.
There was an error rendering this rich post.
There was an error rendering this rich post.
Did anyone managed to do what @michaelfasani asked for?