European date / time-format on Nextion display (24-Hour time)
Posted: Tue Apr 24, 2018 9:37 am
It could happen that the date/time format on your Nexion display is in the US format (MM-Day-Year / AM/PM time).
If you want the European format date / time ( Day-Month-Year / 24-hours time), here are the instructions:
(1) Goto the Expert page in Pi-Star
(2) Make the Card read/write: rpi-rw
(3) execute: sudo dpkg-reconfigure locales; you should see the screen as in this post
(4) with down arrow key, go to the UTF-8 code for your country
(5) select that code by hitting the space-key, a * mark should appear
(6) Go to <Ok> with the tab-key and Return - Raspberry is compiling the code, see terminal screen. If it is finished:
(7) execute sudo reboot.
Now your selected date/time is displayed on your Nextion screen.
If you want the European format date / time ( Day-Month-Year / 24-hours time), here are the instructions:
(1) Goto the Expert page in Pi-Star
(2) Make the Card read/write: rpi-rw
(3) execute: sudo dpkg-reconfigure locales; you should see the screen as in this post
(4) with down arrow key, go to the UTF-8 code for your country
(5) select that code by hitting the space-key, a * mark should appear
(6) Go to <Ok> with the tab-key and Return - Raspberry is compiling the code, see terminal screen. If it is finished:
(7) execute sudo reboot.
Now your selected date/time is displayed on your Nextion screen.