[RSS Feed/News] <xf:date> displays day in browser timezone not forum/account timezone

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Currently Xenforo <xf:date> displays day from browser timezone not account timezone when they mismatch
assume you have
<xf:date time="1668142595" />
your browser time zone is UTC
your forum account time zone is (UTC-06:00) Central Time (US & Canada)

when page is rendered it has the correct PHP time and day
HTML:

<time class="u-dt" dir="auto" datetime="2022-11-10T22:56:35-0600" data-time="1668142595" data-date-string="Nov 10, 2022" data-time-string="10:56 PM" title="Nov 10...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom