Commit c20e14be authored by jplang's avatar jplang

Fixes potential test failure.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 71c8f2f7
......@@ -101,11 +101,11 @@ class Redmine::I18nTest < ActiveSupport::TestCase
def test_utc_time_format
set_language_if_valid 'en'
now =
now =
Setting.date_format = '%d %m %Y'
Setting.time_format = '%H %M'
assert_equal'%d %m %Y %H %M'), format_time(now)
assert_equal'%H %M'), format_time(now, false)
assert_equal now.strftime('%d %m %Y %H %M'), format_time(now.utc)
assert_equal now.strftime('%H %M'), format_time(now.utc, false)
def test_number_to_human_size_for_each_language
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment