<?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[date mask in clock module?]]></title><description><![CDATA[<p dir="auto">First off, ‘hi everybody!’ New user, just spent a good chunk of the night setting up my first Raspberry Pi and installing MM2; loving it!</p>
<p dir="auto">I’ve made good progress getting things set up and a question has come up (and I’m sure this is the wrong place t post but, frankly, github confuses the hell out of me):</p>
<p dir="auto">re. the clock module, it would be great to be able to tweak the format of the date using standard masking a la PHP (<a href="http://php.net/manual/en/function.date.php" target="_blank" rel="noopener noreferrer nofollow ugc">http://php.net/manual/en/function.date.php</a>).</p>
<p dir="auto">Anybody given any though to that?</p>
]]></description><link>https://forum.magicmirror.builders/topic/582/date-mask-in-clock-module</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 03:41:25 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/582.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 04 Sep 2016 14:56:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to date mask in clock module? on Sun, 04 Sep 2016 15:16:13 GMT]]></title><description><![CDATA[<p dir="auto">@strawberry-3-141 is right, but if you generally like the clock module the way it is and just don’t like the way the date is being displayed, you can simply change it as has been pointed out and add</p>
<pre><code>/modules/default/clock/clock.js
</code></pre>
<p dir="auto">to the end of the file <code>.gitignore</code> you can find in the MagicMirror main folder (for example by using <code>sudo nano .gitignore</code>).</p>
<p dir="auto">Not sure, if you’re new to the Linux environment as well, you won’t see the file using the <code>dir</code> command, as the dot at the beginning makes it a hidden file. Anything you add to <code>.gitignore</code> will not be updated when you perform a  <code>git pull</code>, so be careful with adding files to the list, as you may break your installation when some parts of the mirror get updated but others don’t. I wouldn’t worry about adding the clock module, though.</p>
]]></description><link>https://forum.magicmirror.builders/post/4400</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4400</guid><dc:creator><![CDATA[yo-less]]></dc:creator><pubDate>Sun, 04 Sep 2016 15:16:13 GMT</pubDate></item><item><title><![CDATA[Reply to date mask in clock module? on Sun, 04 Sep 2016 15:07:15 GMT]]></title><description><![CDATA[<p dir="auto">you can modify clock.js for your needs, but changes will get removed with an update</p>
<p dir="auto"><a href="https://github.com/MichMich/MagicMirror/blob/master/modules/default/clock/clock.js#L71" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror/blob/master/modules/default/clock/clock.js#L71</a> starting with this line you can change moment().format() and specify the format you want all possibilities are listed here <a href="http://momentjs.com/docs/#/displaying/format/" target="_blank" rel="noopener noreferrer nofollow ugc">http://momentjs.com/docs/#/displaying/format/</a></p>
]]></description><link>https://forum.magicmirror.builders/post/4399</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4399</guid><dc:creator><![CDATA[strawberry 3.141]]></dc:creator><pubDate>Sun, 04 Sep 2016 15:07:15 GMT</pubDate></item></channel></rss>