[wp-hackers] Changing the clock format in Write > Post
Stefano Aglietti
steagl4ml at gmail.com
Sun May 4 17:15:56 GMT 2008
On Sun, 4 May 2008 12:57:34 -0400, "Daniel Torreblanca"
<regulatethis at gmail.com> wrote:
>As far as tackling the daylight savings issue while we're at it, I
>think that'd be a great idea but I don't know where to start. If
>anyone has any insight here I'd be happy to take a crack at it. In
>creating the time format patch I already found and fixed another small
>bug (http://trac.wordpress.org/ticket/6911) so I'm in a pretty nice
>groove :).
I suppose it's related to a mix of UTC settting and locale language
setting, if i have +1 GMT and i have it_IT language setted then from
last weekend of march to last weeknd of october there it's daylight
time. If i have another GMT and it_IT there is no way to change it
automatically i think... same for swiss italian people that use WP,
same GTM of Italy but maybe different date for start and end od
Daylight saving time.
In alternative a centra DB on automattic with UTC + or - name of the
country, start and end date of daylight saving time for that countri
and just a dropdown list with all countries, you just set the country
and GMT daylight, am/pm or 24 maybe time and date format and
textdomain for gettext is automatically setted, locale translation
team can support this DB through a page in xx.wordpress.org site for
changes parameters if necessary (sometimes ago in Italy dayligh was
different in star and end date... but this is unlucky to happens again
i think.
--
Stefano Aglietti - StallonIt on IRCnet - ICQ#: 2078431
Email: steve at 40annibuttati.it steagl at people.it
Sites: http://www.40annibuttati.it (personal blog)
http://www.wordpress-it.it (WordPress Italia)
More information about the wp-hackers
mailing list