On Wed, Feb 8, 2012 at 10:02 AM, Erwin <[email protected]> wrote:
> Hi Peter
>
> I understand ... I dream about a format Date + am:pm ! ( created
> in the morning or created in the afternoon...) LOL
>
That would be:
am = DayTimeRange.new("00:00 until 12:00")
pm = DayTimeRange.new("12:00 until 24:00")
(https://github.com/petervandenabeele/relativity)
As I write this, I see I should introduce a "00:00...12:00"
variant (with 3 dots), which includes the 00:00, but ends
just before 12:00 (actually, is 12:00:00.000000000
am or pm ? I presume it is pm).
> more, I need Time.... actually I need to split events into morning /
> afternoon events ( half day am:pm )
> projects have half-day tasks only..
> I found very useful the business_days gem, but nothing regarding
> am:pm management.....
>
HTH,
Peter
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.