module I18n::Tests::Localization::Time

def setup

def setup
  super
  setup_time_translations
  @time = ::Time.utc(2008, 3, 1, 6, 0)
  @other_time = ::Time.utc(2008, 3, 1, 18, 0)
end

def setup_time_translations

def setup_time_translations
  I18n.backend.store_translations :de, {
    :time => {
      :formats => {
        :default => "%a, %d. %b %Y %H:%M:%S %z",
        :short => "%d. %b %H:%M",
        :long => "%d. %B %Y %H:%M",
      },
      :am => 'am',
      :pm => 'pm'
    }
  }
end