[mythtv-users] Changing the Airdate format

Monkey Pet monkeypet at gmail.com
Sun Feb 2 18:22:35 UTC 2025


On Sat, Feb 1, 2025 at 6:33 AM Peter Bennett <pb.mythtv at gmail.com> wrote:

>
> On 2/1/25 07:55, David Hampton via mythtv-users wrote:
> > On Sat, 2025-02-01 at 06:28 -0500, James Abernathy wrote:
> >>
> >> On Sat, Feb 1, 2025 at 1:57 AM Monkey Pet <monkeypet at gmail.com>
> >> wrote:
> >>> Hi all, any easy way to change the dates in the myth browser
> >>> interface http://mythtv:6544/ from DD/MM/YYYY to MM/DD/YYYY     ?
> >>> thx
> >>>
> >>>
> >>
> >> Mine is in that format for Airdate on the Recordings tab.
> >> This link is to a screenshot on My Drive:
> >>
> https://drive.google.com/file/d/1r01IpRmFekVxw2p6Do9RQram2LQF81PF/view?usp=drive_link
> >>
> >> The back-end is an x86_64 PC running Debian 12. Mythtv is V35-master
> >> built this AM. I don't know that it was any different on V34, but I
> >> have not run that version in 6 months.
> >> On the MythTV setup page my Locale is USA country and English (US)
> >> and I think that makes it default to mm/dd/yyyy
> > Is this customizable?  My preferred date format is YYYY-MM-DD.
> >
> > David
> >
> > _______________________________________________
>
> It takes the date and time format from the browser, which gets it from
> the operating system.
>
> For example to get British dates in chrome run this at a command line:
>
> LANGUAGE=en_GB google-chrome &
>

1. Tried to change it in the GUI Settings, Language from the British to the
US, this didn't work.
2. changed it in /etc/default/locale

LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8

or

3. sudo dpkg-reconfigure locales

reboot and it worked.

You can also set LANGUAGE, LANG per user instead of globally.

I am not sure why everything defaulted to British stuff for this ubuntu
install.


>
> Firefox instructions from Roland:
>
> In order to get Firefox to display the date/time information and other
> locale settings like
> `LC_TIME` and `LC_NUMERIC`
> correctly in my language, I needed to set-up Firefox correctly:
> Open a new tab in Firefox, type about:config in the address bar and hit
> enter,
> proceed to agree to the warning message and use the search bar to find
> intl.regional_prefs.use_os_locales.
> Toggle the flag value to true and restart the browser.
> Now, every date/time display works as desired in the web-app..
>
> Peter
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250202/ed16d640/attachment.htm>


More information about the mythtv-users mailing list