Project

General

Profile

Feature #7114

New classes: `HumanTime::LocalTime`, `HumanTime::Duration`

Added by alexeymuranov (Alexey Muranov) over 8 years ago. Updated about 3 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:47862]

Description

=begin
As suggested by drbrain in #7113 , here is a separate request for classes to hold the time of day and duration of time.

Ruby currently does not have a class to represent a standard database "time" column. Using (({Time})) for this causes some difficulties for example to users of Ruby on Rails: http://www.rebeccablyth.co.uk/2008/01/03/time-columns-and-rails/
=end

Also available in: Atom PDF