Sha256: 2b97a6601c72d7257861ba997463bb75d209b492d7f4e6f4c9f0c51c2079f7ca
Contents?: true
Size: 150 Bytes
Versions: 4
Compression:
Stored size: 150 Bytes
Contents
class DateTime def chinese_format self.strftime("%Y-%-m-%-d %H:%M:%S") end def chinese_format_day self.strftime("%Y-%-m-%-d") end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
eric_tools-0.0.7 | lib/eric_tools/date_time.rb |
eric_tools-0.0.6 | lib/eric_tools/date_time.rb |
eric_tools-0.0.5 | lib/eric_tools/date_time.rb |
eric_tools-0.0.4 | lib/eric_tools/date_time.rb |