From 636e77e3b2bdfaf8b4cb7de020e15a78734e1ef4 Mon Sep 17 00:00:00 2001 From: Karl Johan Kleist Date: Tue, 10 Jul 2012 10:56:56 +0300 Subject: [PATCH] Reverting, as per Timo's comment in https://github.com/plone/plone.app.discussion/commit/49734cd39b88100e60e104157bd23c30925ff4fc#commitcomment-1559057. So Jenkins is running the tests using the en-US locale? --- plone/app/discussion/tests/test_comments_viewlet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/app/discussion/tests/test_comments_viewlet.py b/plone/app/discussion/tests/test_comments_viewlet.py index 52481f3..51b4565 100644 --- a/plone/app/discussion/tests/test_comments_viewlet.py +++ b/plone/app/discussion/tests/test_comments_viewlet.py @@ -475,7 +475,7 @@ class TestCommentsViewlet(unittest.TestCase): python_time = datetime( *time.gmtime(time.mktime(python_time.timetuple()))[:7]) localized_time = self.viewlet.format_time(python_time) - self.assertEqual(localized_time, '2009-02-01 23:32') + self.assertEqual(localized_time, 'Feb 01, 2009 11:32 PM') def test_suite():