45
45
test "localize Time: given a meridian indicator format it returns the correct meridian indicator" do
46
assert_equal 'am', I18n.l(@time, :format => '%p', :locale => :de)
47
assert_equal 'pm', I18n.l(@other_time, :format => '%p', :locale => :de)
46
assert_equal 'AM', I18n.l(@time, :format => '%p', :locale => :de)
47
assert_equal 'PM', I18n.l(@other_time, :format => '%p', :locale => :de)
51
assert_equal 'am', I18n.l(@time, :format => '%P', :locale => :de)
52
assert_equal 'pm', I18n.l(@other_time, :format => '%P', :locale => :de)
50
55
test "localize Time: given an unknown format it does not fail" do