You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JavaScript Date 00:26:00 with format 'hh:mm:ss tt' is bad formatted to '00:26:00 AM'.
I would expect to see '12:26:00 AM' instead.
Problem is in Date.prototype.__Format function when replacing hour part by numberPair((hour - 1) % 12 + 1). It may fixed by: hour % 12 || 12;
The text was updated successfully, but these errors were encountered:
JavaScript Date 00:26:00 with format 'hh:mm:ss tt' is bad formatted to '00:26:00 AM'.
I would expect to see '12:26:00 AM' instead.
Problem is in Date.prototype.__Format function when replacing hour part by numberPair((hour - 1) % 12 + 1). It may fixed by: hour % 12 || 12;
The text was updated successfully, but these errors were encountered: