Hi, > > > A simple option in the config should allow the choice between 12H and 24H > > > format. > > > > Maybe sth. like (config.TV_TIMEFORMAT == '%H:%M') ? > > I know - it's not nice but at least solves most cases.. Or just > > (config.TV_TIMEFORMAT.find("%H") >= 0), that should be quite safe already.. > > well I was thinking of a simple TIME_24_HOUR = 1 to show it's 24 hour or > 0 for 12 hour.
ignore my ramblings, I wasn't thinking straight. Will probably use the (config.TV_TIMEFORMAT.find("%H") >= 0) to try and work out if it's 24 hour. Cheers, Alex
signature.asc
Description: This is a digitally signed message part