JP Date
On your display
Coloured Japanese weekday icon and today’s date as month「月」day「日」
- Topic
- Miscellaneous
- Includes
- Script · 7 icons
Runs on
- Runs on 32×8 (TC001 & DIY)
- Runs on 52×16 (TC002)
- Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.
Choose your display in the next step.
Script description
JP Date
Shows a coloured Japanese weekday icon and today’s date on the 32×8 matrix.
Date format: M月D日
- 月 (gatsu / tsuki) = month
- 日 (nichi / hi) = day
Example: 9月24日 = September 24.
Weekday icons (曜 youbi) — Hub / device IDs use hyphens:
| Icon ID | Kanji | Romaji | Meaning |
|---|---|---|---|
youbi-sun-nichi |
日 | nichi | Sunday |
youbi-mon-getsu |
月 | getsu | Monday |
youbi-tue-ka |
火 | ka | Tuesday |
youbi-wed-sui |
水 | sui | Wednesday |
youbi-thu-moku |
木 | moku | Thursday |
youbi-fri-kin |
金 | kin | Friday |
youbi-sat-do |
土 | do | Saturday |
Digits and 月/日 are pixel-drawn on the device
Requirements
- AWTRIX NG with Run scripts enabled (System → save → reboot). Do not hold left+right at boot (that disables scripting).
- Correct local time / NTP.
- The seven 7×7 GIF icons named exactly as in the table above.
Install
- Upload the seven GIFs to
/ICONS(or install via Hub if attached). - Paste the script under Scripts → Save.
- Enable Run scripts, reboot without touching the buttons.
Layout
Left: centred M月D日 (digit pitch 4 px) in the 25 px date area.
Right: 7×7 weekday colour icon.
Demo (Apps → ⚙)
| Setting | Default | |
|---|---|---|
| Demo mode | off | Cycles Sun→Sat; sample dates are Japanese national holidays (see below). Pauses app rotation while on. |
| Demo seconds | 2 | Seconds per step |
Glyph shapes adapted from the k6x8 bitmap font family.
Sign in to view and copy the code of this script.
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
More scripts in Miscellaneous
Something wrong with this script? Report it.
Have an idea?
Sign in to ask questions and join the conversation.