[mythtv] Mythweb from cvs
Colin Guthrie
myth at colin.guthr.ie
Sun Nov 28 09:27:05 UTC 2004
Rob Hillis wrote:
> Torbjörn Jansson wrote:
>
> Should look much better. Also much more widely acceptable than using a
> dd/mm/yyyy or mm/dd/yyyy when you get people complaining that the dates
> are backwards. (I'm not going to get into an argument over which is
> correct, though it /does/ seem more logical to use the dd/mm/yyyy format...)
Can you not use the strftime() function to format the dates as per the
current locale, thus getting dd/mm/yyyy or mm/dd/yyyy depending on the
locale settings?
http://uk2.php.net/manual/en/function.strftime.php
From the hyperlink, I'm sure you can guess that I like the dd/mm/yyyy
version ;)
Col.
--
+------------------------+
| Colin Guthrie |
+------------------------+
| myth at colin.guthr.ie |
| http://colin.guthr.ie/ |
+------------------------+
More information about the mythtv-dev
mailing list