I'm not sure what you are after, but I've used Runt
[http://runt.rubyforge.org/] for date calcs.

On Thu, Oct 22, 2009 at 10:11 AM, David Lee
<[email protected]> wrote:
> Well, now we've solved timezones ... anyone got a one-liner for dealing with
> time ranges in business hours (which deals with local public holidays)?
>
> *ducks*
>
> On Wed, Oct 21, 2009 at 12:21 PM, Mark Mansour <[email protected]> wrote:
>>
>> As a person who has spent way too much time dealing with timezone and
>> calendaring I highly recommend doing all work in UTC and translate
>> to/from a localized time as close to the consumer as possible (scars
>> still remain from a calendaring server I wrote years ago that handled
>> timezone, daylight savings and recurring events - oh the horror).
>>
>> Mark
>>
>> On Wed, Oct 21, 2009 at 11:15 AM, Nathan de Vries <[email protected]>
>> wrote:
>> >
>> > On 21/10/2009, at 11:07 AM, Julio Cesar Ody wrote:
>> >> Bear in mind that *relying* on JS means you're excluding API clients.
>> >
>> > All APIs should spit out times in UTC, and the times should then be
>> > localised by the consumer.
>> >
>> >
>> > Cheers,
>> >
>> > Nathan de Vries
>> >
>> > >
>> >
>>
>>
>>
>> --
>> Mark Mansour
>> [email protected]
>> http://agilebench.com/
>>
>>
>
>
>
> --
> cheers,
> David Lee
>
> >
>



-- 
Mark Mansour
[email protected]
http://agilebench.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" 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/rails-oceania?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to