项目作者: cowboysdude

项目描述 :
MagicMirror 2 module
高级语言: JavaScript
项目地址: git://github.com/cowboysdude/MMM-Holiday.git
创建时间: 2017-05-07T03:38:03Z
项目社区:https://github.com/cowboysdude/MMM-Holiday

开源协议:

下载


MMM-Holiday

A MagicMirror module that displays the holidays for your country.

Examples

Info

Simple Installation!

  • git clone https://github.com/cowboysdude/MMM-Holiday into the ~/MagicMirror/modules directory.
  • cd ~MagicMirror/modules/MMM-Holiday
  • type npm install

Config.js entry and options

  1. {
  2. module: 'MMM-Holiday',
  3. position: 'top_left',
  4. config: {
  5. maxWidth: "55%",
  6. useHeader: true,
  7. header: "Upcoming Holidays",
  8. updateInterval: 60 * 60 * 1000, // 60 minutes
  9. animationSpeed: 6000,
  10. countryCode: "jpn",
  11. days: "365", // Days to look forward for holidays (1 to 365)
  12. mode: "imperial" //imperial to show date mm/dd/yyyy or metric to show date dd/mm/yyyy,
  13. showToday: true //by default.. to show a holiday on the day or not show it.
  14. }
  15. },

Select your country code for config.js from the list below.

  • Angola - ago
  • Australia - aus
  • Austria - aut
  • Belgium - bel
  • Brazil - bra
  • Canada - can
  • China - chn
  • Colombia - col
  • Croatia - hrv
  • Czech Republic - cze
  • Denmark - dnk
  • England - eng
  • Estonia - est
  • Finland - fin
  • France - fra
  • Germany - deu
  • Greece - grc
  • Hong Kong - hkg
  • Hungary - hun
  • Iceland - isl
  • Ireland - irl
  • Isle of Man - imn
  • Israel - isr
  • Italy - ita
  • Japan - jpn
  • Latvia - lva
  • Lithuania - ltu
  • Luxembourg - lux
  • Mexico - mex
  • Netherlands - nld
  • New Zealand - nzl
  • Northern Ireland - nir
  • Norway - nor
  • Poland - pol
  • Portugal - prt
  • Romania - rou
  • Russia - rus
  • Serbia - srb
  • Slovakia - svk
  • Slovenia - svn
  • South Africa - zaf
  • South Korea - kor
  • Scotland - sct
  • Sweden - swe
  • Ukraine - ukr
  • United States of America - usa
  • Wales - wls