Sha256: b0a37509507724b50a37dcf5e68d9669caf495da845d61697b01dce00ac82213
Contents?: true
Size: 533 Bytes
Versions: 6
Compression:
Stored size: 533 Bytes
Contents
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 module TwitterCldr module Js module Renderers module Shared class CalendarRenderer < TwitterCldr::Js::Renderers::Base self.template_file = File.expand_path(File.join(File.dirname(__FILE__), "../..", "mustache/shared/calendar.coffee")) def calendar TwitterCldr::Tokenizers::DateTimeTokenizer.new(:locale => @locale).calendar.to_json end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems