Opened 13 years ago

Closed 13 years ago

#9315 closed Bug Report (Fixed)

Unable to change time format - Mythweb

Reported by: anonymous Owned by: Rob Smith
Priority: minor Milestone:
Component: Plugin - MythWeb Version: 0.24-fixes
Severity: low Keywords:
Cc: Ticket locked: no

Description

Currently using release 0.24 on Fedora 14, I have noticed this a problem since I moved from 0.23 - but I can't specify exaclty when - sorry:

Using MythWeb -> Settings -> TV, I would like to change the time format so that MythWeb listings (and all other time stamped items) are in 24 hour time format.

It used to be that I could change this via the MythWeb GUI by changing the '%I' to '%H' and 'Hour Format' to '09:00 / 21:00'. This no longer seems to function. Instead, I observe that the page seems to save okay but a refresh of the page returns it to the default 12 hour format. The only way it seems that I can get the 24 hour format to display is if I edit the individual 'lang' files (I use Canadian English at present for the correct spelling of words such as 'Centre'.)

I am not sure of the dependencies for MythWeb to alter time format but would sure appreciate how this is supposed to function.

Any idea on how to rectify?

Change History (4)

comment:1 Changed 13 years ago by Nicolas Riendeau

Ticket locked: unset

I have the same problem and tracked it down to MythWeb forgetting the info about the currently loaded in language and loading the language info (and the date/time formats it contains) at each page change.

Somebody initially suggested it might have to do with not having authentication in place but even after adding it it makes no difference, the info about the currently loaded in language is lost and this cause MythWeb to reload the translation file over and over again.

Somehow the info is not persisted between each new "instantiation" of Translate.

Reporter for now your best bet is to edit the English_CA.lang file.

BTW, I put the 12 hour format in it since that was the format people were the most familiar with.

Nick

comment:2 in reply to:  1 Changed 13 years ago by ama@…

Indeed - thankyou for the response.

In my case, I use authentication (and always have).

Okay, as a workaround it is of course fine to edit the files but every update I perform overwrites so I am (at present) editing these every few days - determined by the ATRPMS Fedora 14 release cycle I guess.

Oh well, I have more insight into the funtion - not sure I am valuable for much other input at this juncture so I can only wait too see what eventuates.

Thanks again,

-- F

Replying to knight:

I have the same problem and tracked it down to MythWeb forgetting the info about the currently loaded in language and loading the language info (and the date/time formats it contains) at each page change.

Somebody initially suggested it might have to do with not having authentication in place but even after adding it it makes no difference, the info about the currently loaded in language is lost and this cause MythWeb to reload the translation file over and over again.

Somehow the info is not persisted between each new "instantiation" of Translate.

Reporter for now your best bet is to edit the English_CA.lang file.

BTW, I put the 12 hour format in it since that was the format people were the most familiar with.

Nick

comment:3 Changed 13 years ago by Nicolas Riendeau

Status: newassigned

comment:4 Changed 13 years ago by Rob Smith

Resolution: Fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.