[wp-trac] [WordPress Trac] #51130: Events displayed in venue timezone instead of user's

WordPress Trac noreply at wordpress.org
Fri Oct 23 22:49:46 UTC 2020


#51130: Events displayed in venue timezone instead of user's
--------------------------------------+-----------------------
 Reporter:  iandunn                   |       Owner:  iandunn
     Type:  enhancement               |      Status:  reopened
 Priority:  high                      |   Milestone:  5.5.2
Component:  Date/Time                 |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------
Changes (by iandunn):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Huh, [https://travis-ci.com/github/WordPress/wordpress-
 develop/jobs/406172894 some of the new QUnit tests are failing in the
 `5.5` branch], even though they pass in `trunk`.

 {{{
 >> dashboard > communityEvents.getFormattedDate - multiple day event
 should use corresponding format
 >> Actual: "September 15–17, 2020"
 >> Expected: "September 15–17, 2020"
 >> at Object.<anonymous> (file:///home/travis/build/WordPress/wordpress-
 develop/tests/qunit/wp-admin/js/dashboard.js:106:12)

 >> dashboard > communityEvents.getFormattedDate - multiple month event
 should use corresponding format
 >> Actual: "September 15 – October 6, 2020"
 >> Expected: "September 15 – October 6, 2020"
 >> at Object.<anonymous> (file:///home/travis/build/WordPress/wordpress-
 develop/tests/qunit/wp-admin/js/dashboard.js:117:12)
 }}}

 I saw that happen sometimes when I was writing them, but couldn't
 reproduce it reliably, and thought copy/pasting might have fixed it.
 Apparently not :)

 I'm gonna take another look.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51130#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list