MagicMirror icon indicating copy to clipboard operation
MagicMirror copied to clipboard

Issue: 12-hour clock format incorrect after midnight

Open qnimbus opened this issue 9 years ago • 2 comments

Platform: Windows 10

Node Version: v8.2.1

MagicMirror Version: v2.1.3-dev

Description: When using 12-hour clock format, 00:30 is displayed as 12:30 AM

Steps to Reproduce: Set computer clock to somewhere between midnight and 01:00 (AM) and make sure that MM uses the 12-hour clock format to display the time

Expected Results: When the time is (for example) 00:25 AM it should display 00:25 AM

Actual Results: At 00:25 AM the clock shows 12:25 AM

Configuration:

var config = {
	port: 8080,
	// ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses.
	ipWhitelist: [],

	language: "nl",
	timeFormat: 12,
	units: "metric",

qnimbus avatar Jul 31 '17 20:07 qnimbus

I just realized after some 'Google' research that while 12:30 AM is technically correct, it is a bit ambiguous. So I will close this issue since the clock seems to be working correctly - I guess it underlines my preference for the 24-hour clock once more ;)

qnimbus avatar Aug 01 '17 10:08 qnimbus

Maybe create a poll for this cases for our users.

roramirez avatar Aug 02 '17 16:08 roramirez