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