diff --git a/conf/locale/config b/conf/locale/config index 3a0b04adbb..67252b1fa0 100644 --- a/conf/locale/config +++ b/conf/locale/config @@ -1,4 +1,4 @@ { - "locales" : ["en", "zh_CN"], + "locales" : ["en"], "dummy-locale" : "fr" } diff --git a/i18n/tests/test_generate.py b/i18n/tests/test_generate.py index b9a36ada33..f18dff0320 100644 --- a/i18n/tests/test_generate.py +++ b/i18n/tests/test_generate.py @@ -46,7 +46,7 @@ class TestGenerate(TestCase): path = os.path.join(CONFIGURATION.get_messages_dir(locale), mofile) exists = os.path.exists(path) self.assertTrue(exists, msg='Missing file in locale %s: %s' % (locale, mofile)) - self.assertTrue(datetime.fromtimestamp(os.path.getmtime(path)) >= self.start_time, + self.assertTrue(datetime.fromtimestamp(os.path.getmtime(path), UTC) >= self.start_time, msg='File not recently modified: %s' % path) self.assert_merge_headers(locale)