Reverting, as per Timo's comment in 49734cd39b (commitcomment-1559057).

So Jenkins is running the tests using the en-US locale?
This commit is contained in:
Karl Johan Kleist 2012-07-10 10:56:56 +03:00
parent 49734cd39b
commit 636e77e3b2

View File

@ -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():