Fallback for localized time is now ISO style.
https://jenkins.plone.org/job/plone-4.3-tests/89/testReport/junit/plone.app.discussion.tests.test_comments_viewlet/TestCommentsViewlet/test_format_time/
This commit is contained in:
parent
d86e19e717
commit
49734cd39b
@ -475,7 +475,7 @@ class TestCommentsViewlet(unittest.TestCase):
|
|||||||
python_time = datetime(
|
python_time = datetime(
|
||||||
*time.gmtime(time.mktime(python_time.timetuple()))[:7])
|
*time.gmtime(time.mktime(python_time.timetuple()))[:7])
|
||||||
localized_time = self.viewlet.format_time(python_time)
|
localized_time = self.viewlet.format_time(python_time)
|
||||||
self.assertEqual(localized_time, "Feb 01, 2009 11:32 PM")
|
self.assertEqual(localized_time, '2009-02-01 23:32')
|
||||||
|
|
||||||
|
|
||||||
def test_suite():
|
def test_suite():
|
||||||
|
Loading…
Reference in New Issue
Block a user