diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2014-11-21 19:15:13 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2014-12-10 11:51:25 +0000 |
commit | 0d070cca6c534cec77d04b53a1c21325dbdaecfd (patch) | |
tree | fd1f0f207ea5099d48c5509a0bd687f94688735f /perllib/FixMyStreet/App.pm | |
parent | bd09e5d135aff5abdf01f279b6258bc8cb250f8a (diff) |
Set DefaultLocale appropriately when language set.
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r-- | perllib/FixMyStreet/App.pm | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm index 4c2b65979..e5e483937 100644 --- a/perllib/FixMyStreet/App.pm +++ b/perllib/FixMyStreet/App.pm @@ -6,7 +6,6 @@ use namespace::autoclean; $Return::Value::NO_CLUCK = 1; use Catalyst::Runtime 5.80; -use DateTime; use FixMyStreet; use FixMyStreet::Cobrand; use Memcached; @@ -207,9 +206,6 @@ sub setup_request { # XXX Put in cobrand / do properly if ($c->cobrand->moniker eq 'zurich') { FixMyStreet::DB::Result::Problem->visible_states_add_unconfirmed(); - DateTime->DefaultLocale( 'de_CH' ); - } else { - DateTime->DefaultLocale( 'en_US' ); } if (FixMyStreet->test_mode) { |