Possible to show the full post datetime?
Yes, well, it's all in the topic :-) Is it possible to show the full datetime of the post instead of "x days ago" or the date? I didnt find a setting for this...
0
This discussion has been closed.
Comments
When it does come out, you can change the offending templates to not call the function and instead just write the time however you want, I guess.
We should expect vanilla2.0? :P
return date('H:i:s, Y-m-d', $Time);
See php.net/date for more info on formatting the time.function TimeDiff(&$Context, $Time, $TimeToCompare = '') {
Replace everything in the outer most curly brackets with what I posted and it should work.