Added few improvements to make MagicMirror better

Used momentjs' translations for every DateTime strings. No more need to add translations.

Added config.js to use as a central file for configurations.

Try to use Gmail's calendars and I've seen that there are some problems (with old events,
when an event has "email remembers", and with TimeZones). I'll try to solve it soon.
This commit is contained in:
Yuki (aka Ruben Gomez)
2014-05-22 19:48:46 +02:00
parent d33d681887
commit 0eea07f3d9
4 changed files with 63 additions and 96 deletions

View File

@@ -25,6 +25,7 @@
<script src="js/jquery.feedToJSON.js"></script>
<script src="js/ical_parser.js"></script>
<script src="js/moment-with-langs.min.js"></script>
<script src="js/config.js"></script>
<script src="js/main.js?nocache=<?php echo md5(microtime()) ?>"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js"></script>