Hi Yaron,

> The
> question is: this code uses the global flag $wgAmericanDates, which
> determines whether dates are displayed as "January 1, 2009" instead of
> "1 January 2009", to dictate whether time should be in 24-hour format or
> not. Does that sound fine for everyone, or are there countries/places
> where, say, non-American-style dates are used with 12-hour time? The
> alternative would be to have a second global variable, called, say,
> $sfg24HourTime.

After some more research I guess it would be better to have a separate
configuration variable $sfg24HourTime:

http://en.wikipedia.org/wiki/Date_and_time_notation_by_country says that, for
example in Australia and India 12-hour notation is common, but the most common
date format is d/m/y (as opposed to the American m/d/y).
So I guess Australian and Indian users would want to switch $wgAmericanDates
off while still having the 12-hour clock format.

As for the default value of $sfg24HourTime - from a compatibility point of view
it should be 'false', so that SF doesn't change behaviour. Most other
applications default to 24h time though, because the majority of humans use
this format in written language, I believe ;)

Patrick.

-- 
Key ID: 0x86E346D4            http://patrick-nagel.net/key.asc
Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Semantic Forms" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/semantic-forms?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to