European date / time-format on Nextion display (24-Hour time)

All things relating to the Nextion Screen(s)
Post Reply
PD0DIB
Posts: 34
Joined: Wed Apr 11, 2018 1:34 pm
Location: Uden, The Netherlands

European date / time-format on Nextion display (24-Hour time)

Post by PD0DIB »

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.
Attachments
2018-04-24.png
2018-04-24.png (55.89 KiB) Viewed 6198 times
-------------------------------
PD0DIB
Playing around with all types of hotspots (simplex & duplex) for DMR, YSF/C4FM and D-Star.
Most of them has a Nextion screen ...

73 de PD0DIB (since 1977 8-) )
N1KK
Posts: 6
Joined: Thu Apr 04, 2019 1:18 am

Re: European date / time-format on Nextion display (24-Hour time)

Post by N1KK »

I would like to switch mine to US format (12 hour with AM/PM). Will the UTF-8 listing have US next to it?

Thanks,
Ken
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: European date / time-format on Nextion display (24-Hour time)

Post by KE0FHS »

As far as I know, the locale affects the date format, for example, DD/MM/YYYY vs MM/DD/YYYY. The 24-hour time format is used in the U.S. as much as anywhere else (try making an afternoon/evening appointment with someone who is or has recently been serving in the military). You might want to take a look at the Nextion Editor configuration to see if there is an option for the 12-hour format there.
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm
Post Reply