Sha256: 02673581cfa270394c6f0a51165642009b8c1cdffc2644aa3dd785bc9c646622
Contents?: true
Size: 846 Bytes
Versions: 5
Compression:
Stored size: 846 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
5 entries across 5 versions & 3 rubygems