[mythtv] MythWeb date display issue
Chris Petersen
lists at forevermore.net
Mon Feb 2 23:35:09 EST 2004
> Can someone more familiar with php and mythweb say whether it is possible to
> have built-in defaults for these variables so that this doesn't happen?
> It would be nice to be able to preserve the user's configuration across
> upgrades.
It should be fine from now on... the time formats are stored in the
session cookie - a couple of constants were added in this version to
allow for setting default date/time formats differently between
european/american preferences.
The issue is that in php when a constant is unknown, instead of giving
it a null/undefined value, it interprets it as a string. So the name
generic_time was interpreted as if the letters were date-formatting
values.
On that note, it's *always* a good idea to check config files for
updates between releases.
--
Chris Petersen
Programmer / Web Designer
Silicon Mechanics: http://www.siliconmechanics.com/
Blade Servers: http://www.siliconmechanics.com/c292/blade-server.php
1U Servers: http://www.siliconmechanics.com/c272/1u-server.php
More information about the mythtv-dev
mailing list