Sha256: 7bb3ebc5b9d1f92301ee5ccbf54a79b923a82589c8085ec5b705238ce44b86a5
Contents?: true
Size: 865 Bytes
Versions: 7
Compression:
Stored size: 865 Bytes
Contents
# encoding: utf-8 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
7 entries across 7 versions & 3 rubygems