<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Calendar times in 24 hour format?]]></title><description><![CDATA[<p dir="auto">Any way to change calendar times to 24 hour?  (as in the clock?)</p>
]]></description><link>https://forum.magicmirror.builders/topic/536/calendar-times-in-24-hour-format</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 15:22:17 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/536.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Aug 2016 08:27:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Sat, 05 Aug 2017 21:51:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/markusbe" aria-label="Profile: MarkusBe">@<bdi>MarkusBe</bdi></a></p>
<p dir="auto">Fantastic! Enjoy your mirror. :^)</p>
]]></description><link>https://forum.magicmirror.builders/post/26238</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/26238</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Sat, 05 Aug 2017 21:51:50 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Sat, 05 Aug 2017 21:48:03 GMT]]></title><description><![CDATA[<p dir="auto">THANK YOU! That was the case! Haven’t seen this… Now it works!</p>
]]></description><link>https://forum.magicmirror.builders/post/26237</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/26237</guid><dc:creator><![CDATA[MarkusBe]]></dc:creator><pubDate>Sat, 05 Aug 2017 21:48:03 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Sat, 05 Aug 2017 21:45:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/markusbe" aria-label="Profile: MarkusBe">@<bdi>MarkusBe</bdi></a> said in <a href="/post/26234">Calendar times in 24 hour format?</a>:</p>
<blockquote>
<p dir="auto">Any Ideas left, how to fix this?</p>
</blockquote>
<p dir="auto">Quick fix is to edit this in the module:</p>
<p dir="auto"><img src="/assets/uploads/files/1501969518587-fix.jpg" alt="0_1501969529505_fix.JPG" class=" img-fluid img-markdown" /></p>
<p dir="auto">Or move to the developers branch of MM</p>
]]></description><link>https://forum.magicmirror.builders/post/26236</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/26236</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Sat, 05 Aug 2017 21:45:46 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Sat, 05 Aug 2017 21:35:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am still having this problem. I checked everything, the config file is correct, my localization of the Pi itself is ok and the changes in the calendar.js have already been made. I am still getting the calendar dates in 12h format without “A” and “P”, and I want them in “15:00” time format. Any Ideas left, how to fix this?</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://forum.magicmirror.builders/post/26234</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/26234</guid><dc:creator><![CDATA[MarkusBe]]></dc:creator><pubDate>Sat, 05 Aug 2017 21:35:34 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Sat, 29 Jul 2017 22:54:44 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">I also had this problem. The problem is that the time format string in modules/default/calendar/calendar.js is wrong for 24h setup.</p>
<p dir="auto">Find these lines and change lower case <code>hh</code> into <code>H</code> in time format string.</p>
<pre><code>case 24: {
			moment.updateLocale(config.language, {
				longDateFormat: {
					LT: "H:mm" // FIX here: was "hh:mm"
				}
			});
			break;
		}
</code></pre>
<p dir="auto">This was already fixed in development branch: <a href="https://github.com/MichMich/MagicMirror/pull/943/files" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror/pull/943/files</a></p>
]]></description><link>https://forum.magicmirror.builders/post/26043</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/26043</guid><dc:creator><![CDATA[ytmytm]]></dc:creator><pubDate>Sat, 29 Jul 2017 22:54:44 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Fri, 28 Jul 2017 20:07:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/babene1" aria-label="Profile: Babene1">@<bdi>Babene1</bdi></a> <a href="https://forum.magicmirror.builders/post/25983">https://forum.magicmirror.builders/post/25983</a></p>
]]></description><link>https://forum.magicmirror.builders/post/25984</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25984</guid><dc:creator><![CDATA[strawberry 3.141]]></dc:creator><pubDate>Fri, 28 Jul 2017 20:07:29 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Fri, 28 Jul 2017 19:49:47 GMT]]></title><description><![CDATA[<p dir="auto">i have the same problem, maybe I have time on the weekend for more test.<br />
For me it is really ugly</p>
]]></description><link>https://forum.magicmirror.builders/post/25980</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25980</guid><dc:creator><![CDATA[Babene1]]></dc:creator><pubDate>Fri, 28 Jul 2017 19:49:47 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Tue, 25 Jul 2017 20:03:27 GMT]]></title><description><![CDATA[<p dir="auto">Thx for response.</p>
]]></description><link>https://forum.magicmirror.builders/post/25851</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25851</guid><dc:creator><![CDATA[MrEdOne]]></dc:creator><pubDate>Tue, 25 Jul 2017 20:03:27 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Tue, 25 Jul 2017 19:58:25 GMT]]></title><description><![CDATA[<p dir="auto">Then I have no idea. Sorry…</p>
]]></description><link>https://forum.magicmirror.builders/post/25850</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25850</guid><dc:creator><![CDATA[SvenSommer]]></dc:creator><pubDate>Tue, 25 Jul 2017 19:58:25 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Tue, 25 Jul 2017 19:55:25 GMT]]></title><description><![CDATA[<p dir="auto">You mean calendar on Google website?<br />
But everything work correctly until lastest update of mm</p>
]]></description><link>https://forum.magicmirror.builders/post/25849</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25849</guid><dc:creator><![CDATA[MrEdOne]]></dc:creator><pubDate>Tue, 25 Jul 2017 19:55:25 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Tue, 25 Jul 2017 19:51:12 GMT]]></title><description><![CDATA[<p dir="auto">Is your google calendar  in the correct time zone?</p>
]]></description><link>https://forum.magicmirror.builders/post/25848</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25848</guid><dc:creator><![CDATA[SvenSommer]]></dc:creator><pubDate>Tue, 25 Jul 2017 19:51:12 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Tue, 25 Jul 2017 19:21:15 GMT]]></title><description><![CDATA[<p dir="auto">I think there is simply an understanding problem. You wrote:<br />
“When i change timeFormat to 12 calendar add PM to 03:00 so it’s correctly, but when i change to 24, PM disappear.”</p>
<p dir="auto">So, if I’m interpreting this right, you are looking for something that isn’t the usual case. You want to display something like: “20:59 PM”<br />
Is this correct?</p>
]]></description><link>https://forum.magicmirror.builders/post/25845</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25845</guid><dc:creator><![CDATA[SvenSommer]]></dc:creator><pubDate>Tue, 25 Jul 2017 19:21:15 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Tue, 25 Jul 2017 19:05:02 GMT]]></title><description><![CDATA[<p dir="auto">Here is output from <code> date</code></p>
<pre><code>pi@MagicMirror:~ $ date
wto, 25 lip 2017, 20:59:48 CEST
</code></pre>
<p dir="auto">Yes in <code> 12</code>, but in <code>24</code> I have 03:00 instead 15:00</p>
]]></description><link>https://forum.magicmirror.builders/post/25844</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25844</guid><dc:creator><![CDATA[MrEdOne]]></dc:creator><pubDate>Tue, 25 Jul 2017 19:05:02 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Tue, 25 Jul 2017 19:02:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mredone" aria-label="Profile: MrEdOne">@<bdi>MrEdOne</bdi></a><br />
<code>timeFormat</code> uses the formatting of your operating system.<br />
When “24” is configured  the format “hh:mm” is returned. Which is exactly, <a href="https://de.wikipedia.org/wiki/ISO_8601" target="_blank" rel="noopener noreferrer nofollow ugc">what you are looking for</a>.<br />
Here is the code snippet from calender.js:</p>
<pre><code>		switch (config.timeFormat) {
		case 12: {
			moment.updateLocale(config.language, {
				longDateFormat: {
					LT: "h:mm A"
				}
			});
			break;
		}
		case 24: {
			moment.updateLocale(config.language, {
				longDateFormat: {
					LT: "hh:mm"
				}
			});
			break;
		}
</code></pre>
<p dir="auto">What do you get, when typing <code>date</code> in your console?</p>
<p dir="auto"><img src="/assets/uploads/files/1501007852865-492bdac5-1124-4fcf-b5bf-c69605f21853-image.png" alt="0_1501007853673_492bdac5-1124-4fcf-b5bf-c69605f21853-image.png" class=" img-fluid img-markdown" /><br />
If it’s not in displayed in a format of 24h,  change the setting of your OS.</p>
<p dir="auto">Maybe this helps?</p>
]]></description><link>https://forum.magicmirror.builders/post/25843</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25843</guid><dc:creator><![CDATA[SvenSommer]]></dc:creator><pubDate>Tue, 25 Jul 2017 19:02:17 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Tue, 25 Jul 2017 13:00:31 GMT]]></title><description><![CDATA[<p dir="auto">I give up. I don’t know where is error.</p>
]]></description><link>https://forum.magicmirror.builders/post/25836</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25836</guid><dc:creator><![CDATA[MrEdOne]]></dc:creator><pubDate>Tue, 25 Jul 2017 13:00:31 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Tue, 25 Jul 2017 03:58:18 GMT]]></title><description><![CDATA[<p dir="auto">Yes. I have everywhere timeFormat. on a top of config and in calendar module with capital F</p>
]]></description><link>https://forum.magicmirror.builders/post/25780</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25780</guid><dc:creator><![CDATA[MrEdOne]]></dc:creator><pubDate>Tue, 25 Jul 2017 03:58:18 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Mon, 24 Jul 2017 20:57:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mredone" aria-label="Profile: MrEdOne">@<bdi>MrEdOne</bdi></a></p>
<p dir="auto">It has to be <code>timeFormat</code> with a capital <code>F</code>. And at the top of your config also</p>
<pre><code>/* Magic Mirror Config
 *
 * By Michael Teeuw http://michaelteeuw.nl
 * MIT Licensed.
 */

var config = {
        port: 8080,

        language: 'en',
        timeFormat: 24,
        units: 'metric',
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/25778</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25778</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Mon, 24 Jul 2017 20:57:09 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Mon, 24 Jul 2017 20:54:36 GMT]]></title><description><![CDATA[<p dir="auto">But it not change anything.<br />
With absolute and relative is the same.</p>
]]></description><link>https://forum.magicmirror.builders/post/25776</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25776</guid><dc:creator><![CDATA[MrEdOne]]></dc:creator><pubDate>Mon, 24 Jul 2017 20:54:36 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Mon, 24 Jul 2017 20:52:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mredone" aria-label="Profile: MrEdOne">@<bdi>MrEdOne</bdi></a></p>
<p dir="auto">Are you typing <code>timeformat</code> ? That won’t work.</p>
<p dir="auto">It has to be <code>timeFormat</code> with a capital <code>F</code>.</p>
<p dir="auto">Wait a minute, the only options for <code>timeFormat</code> in the calendar module are <code>absolute</code> or <code>relative</code></p>
]]></description><link>https://forum.magicmirror.builders/post/25774</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25774</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Mon, 24 Jul 2017 20:52:40 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Mon, 24 Jul 2017 20:44:48 GMT]]></title><description><![CDATA[<p dir="auto">Nope. A search only where is a timeformat in js but my knowledge is to small. :)</p>
]]></description><link>https://forum.magicmirror.builders/post/25772</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25772</guid><dc:creator><![CDATA[MrEdOne]]></dc:creator><pubDate>Mon, 24 Jul 2017 20:44:48 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Mon, 24 Jul 2017 20:40:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mredone" aria-label="Profile: MrEdOne">@<bdi>MrEdOne</bdi></a></p>
<p dir="auto">Oh ok, that’s different</p>
<p dir="auto">It sounds like something is overriding the timeFormat: setting. Have you made any changes to the calendar.js file?</p>
]]></description><link>https://forum.magicmirror.builders/post/25771</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25771</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Mon, 24 Jul 2017 20:40:41 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Mon, 24 Jul 2017 20:35:39 GMT]]></title><description><![CDATA[<p dir="auto">Yes, but it won’t change 03:00 to 15:00</p>
]]></description><link>https://forum.magicmirror.builders/post/25770</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25770</guid><dc:creator><![CDATA[MrEdOne]]></dc:creator><pubDate>Mon, 24 Jul 2017 20:35:39 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar times in 24 hour format? on Mon, 24 Jul 2017 20:28:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mredone" aria-label="Profile: MrEdOne">@<bdi>MrEdOne</bdi></a> said in <a href="/post/25767">Calendar times in 24 hour format?</a>:</p>
<blockquote>
<p dir="auto">but when i change to 24, PM disappear.</p>
</blockquote>
<p dir="auto">That makes perfect sense. 24 hour format would NOT show AM/PM, only 12 hour format would do that.</p>
<p dir="auto">3:00 PM in 12 hour format</p>
<p dir="auto">1500 in 24 hour format (no PM)</p>
]]></description><link>https://forum.magicmirror.builders/post/25769</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25769</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Mon, 24 Jul 2017 20:28:17 GMT</pubDate></item></channel></rss>