RubyGems Navigation menu

time-helper 2.0.1

Adds a few methods to the Time class, more significant: strtotime which returns a Time object based on a string. also methods add and substract that allow you to do some easy date math (doesn't take leap months/years into account) also tomorrow and yesterday methods witch are like Time.now +- 1 day =~ to see if two Time objects are "close enough"

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 2.0.1 - November 11, 2012 (7.0 KB)
  2. 2.0.0 - November 04, 2012 (6.5 KB)
  3. 1.3.1 - August 20, 2012 (6.5 KB)
  4. 1.3 - May 31, 2012 (6.0 KB)
  5. 1.2 - May 21, 2012 (5.5 KB)
显示所有版本 (共 7 个)

业主:

作者:

  • Arthur Silva

SHA 256 校验和:

c747901ae37b50a6dd09580ee7b6dd2f788559833c4f5129be474855c90607f1

下载总量 22,439

这个版本 5,247

许可:

需要的 Ruby 版本:

链接: