Sha256: 4e4991a0c804e95df8f913c60272a0db38402ac29f4d8c3c3a8c987b063f677f
Contents?: true
Size: 869 Bytes
Versions: 1
Compression:
Stored size: 869 Bytes
Contents
module Tests module Backend module Api module Localization module Lambda def test_localize_uses_lambda_day_names assert_match /Суббота/, I18n.backend.localize('ru', time, "%A, %d %B") assert_match /суббота/, I18n.backend.localize('ru', time, "%d %B (%A)") end def test_localize_uses_lambda_month_names assert_match /марта/, I18n.backend.localize('ru', time, "%d %B %Y") assert_match /Март/, I18n.backend.localize('ru', time, "%B %Y") end def test_localize_uses_lambda_abbr_day_names assert_match /марта/, I18n.backend.localize('ru', time, "%d %b %Y") assert_match /март/, I18n.backend.localize('ru', time, "%b %Y") end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
i18n-0.2.0 | test/api/localization/lambda.rb |