timestamp format  

  RSS

triode
Active Member
Joined:4 weeks  ago
Posts: 6
31/07/2017 1:44 pm  

Hi,

In the comments on my site, the timestamps for comments from today are being abbreviated as "Today" instead of showing the real date.  (similar for "Yesterday")

Is there a way to get it to show the real date?  "Today" is confusing for my users as many are in different timezones.  I have the "Use WordPress Date/Time format" setting turned on in wpDiscuz, but nowhere in the WordPress date format settings do I see a reference to this kind of abbreviation.  Do you know where the abbreviation is happening?

Thanks,


ReplyQuote
triode
Active Member
Joined:4 weeks  ago
Posts: 6
31/07/2017 2:19 pm  

Ok actually it was only doing it for Today and not for Yesterday.  I hacked the isPostedToday function in class.WpdiscuzHelper.php to fix this.  I think this abbreviation functionality is unnecessary.

Regards,


ReplyQuote
triode
Active Member
Joined:4 weeks  ago
Posts: 6
04/08/2017 5:16 am  

Hi,
This issue was marked as solved, but I would still appreciate a proper fix for it because I don't want to have to re-hack the code every time there is an update.  There was an update this week so already I need to reapply the hack.  I think that wpDiscuz is trying to be too smart by abbreviating the date.  It could be an option but I don't think it should be the default.  In fact, the option is "Use WordPress Date/Time format" but wpDiscuz is not actually using the WordPress Date/Time format...
Thanks,


ReplyQuote
Tom
 Tom
Support Team Admin
Joined:2 years  ago
Posts: 1834
05/08/2017 10:24 am  

Hi triode,

We've just updated wpDiscuz core without new version release (a few hours ago). Please deactivate it, delete then search and install it again. The time format should work for today.

wpDiscuz Documentation


ReplyQuote
  
Working

Please Login or Register