diff options
author | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-02-11 10:43:35 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-02-11 10:43:35 +0000 |
commit | c8a9805bcb850cab7bf1c1b8c34ef5c4f22e1b73 (patch) | |
tree | 9d021c40c9b8927bbc2c237eda0cdd767cbf99de /bin/send-reports | |
parent | c7662afda971a9d285f70ff625dcd0b170b836e3 (diff) |
More EN locales.
Diffstat (limited to 'bin/send-reports')
-rwxr-xr-x | bin/send-reports | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/send-reports b/bin/send-reports index 6254337c6..2d5245269 100755 --- a/bin/send-reports +++ b/bin/send-reports @@ -104,9 +104,11 @@ foreach my $row (@$unsent) { if ( mySociety::Config::get('COUNTRY') eq 'GB' ) { ( $h{easting}, $h{northing} ) = - mySociety::GeoUtil::wgs84_to_national_grid( # - $h{latitude}, $h{longitude}, 'G' - ); + mySociety::Locale::in_gb_locale { + mySociety::GeoUtil::wgs84_to_national_grid( + $h{latitude}, $h{longitude}, 'G' + ); + }; # email templates don't have conditionals so we need to farmat this here $h{easting_northing} # |