Sha256: 70890c5c4a642db8eeac70172362cdfac9dc917be2aa477eeff647f7812bce6e
Contents?: true
Size: 383 Bytes
Versions: 17
Compression:
Stored size: 383 Bytes
Contents
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 module TwitterCldr module Formatters class TimeFormatter < DateTimeFormatter def initialize(options = {}) @tokenizer = TwitterCldr::Tokenizers::TimeTokenizer.new(:locale => extract_locale(options), :calendar_type => options[:calendar_type]) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems