BUGFIX: Use correct language code for jquery-ui date picker for en_US

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@113107 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Mark Stephens 2010-10-25 23:24:45 +00:00 committed by Sam Minnee
parent 4765e1b259
commit a2c10e3625

View File

@ -500,7 +500,7 @@ class DateField_View_JQuery {
*/ */
static $locale_map = array( static $locale_map = array(
'en_GB' => 'en-GB', 'en_GB' => 'en-GB',
'en_US' => 'en-US', 'en_US' => 'en',
'en_NZ' => 'en-GB', 'en_NZ' => 'en-GB',
'fr_CH' => 'fr-CH', 'fr_CH' => 'fr-CH',
'pt_BR' => 'pt-BR', 'pt_BR' => 'pt-BR',