[wp-trac] [WordPress Trac] #51862: When the time format is "H:i", an error occurs when operating the calendar on the post edit screen.
WordPress Trac
noreply at wordpress.org
Tue Nov 24 11:04:36 UTC 2020
#51862: When the time format is "H:i", an error occurs when operating the calendar
on the post edit screen.
--------------------------+-----------------------------
Reporter: tmatsuur | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 5.6
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
In version 5.6 RC-1, an error has occurred in the following operation.
1.Open the [Settings]-[General] menu.
2.Select "H:i" in Time Format and save.
3.Edit "Hello world!" In the posted article.
4.Click the date and time in "Publish" of "Status & visibility".
5.Click "Reset" in the displayed calendar.
6.Click "Immediately".
7.Clicking "Date" or "Calendar Help" in the calendar causes an error.
The contents of "Copy Error" are as follows.
{{{
TypeError: `month` must be a valid moment object
at t.default (http://local3/wp-
includes/js/dist/components.min.js?ver=7b2eb7033cd3c6d2b4ea663e7d4774a7:23:32344)
at new t (http://local3/wp-
includes/js/dist/components.min.js?ver=7b2eb7033cd3c6d2b4ea663e7d4774a7:23:19705)
at Yg (http://local3/wp-includes/js/dist/vendor/react-
dom.min.js?ver=16.13.1:68:243)
at rh (http://local3/wp-includes/js/dist/vendor/react-
dom.min.js?ver=16.13.1:98:274)
at zj (http://local3/wp-includes/js/dist/vendor/react-
dom.min.js?ver=16.13.1:228:490)
at Th (http://local3/wp-includes/js/dist/vendor/react-
dom.min.js?ver=16.13.1:152:223)
at tj (http://local3/wp-includes/js/dist/vendor/react-
dom.min.js?ver=16.13.1:152:152)
at Te (http://local3/wp-includes/js/dist/vendor/react-
dom.min.js?ver=16.13.1:146:151)
at http://local3/wp-includes/js/dist/vendor/react-
dom.min.js?ver=16.13.1:61:68
at unstable_runWithPriority (http://local3/wp-
includes/js/dist/vendor/react.min.js?ver=16.13.1:25:260)
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51862>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list