Hi Oscar, 

I was looking at Chronic quickly and it is really good and powerfull but I 
could not find the option to set date format. Is there an option for that?

I could see that Chronic has more complex options also with Time and not 
only Date but dater gives you the posibility to initialize the object 
providing strftime format and also it could be used in spanish and 
portuguese.

Date was created based on a requirement were I have to search for flights 
and do reservations. I am using cucumber and of course, searches must be 
some date time from today.

Thanks for your response, I've never seen chronic! :)

Regards

El martes, 10 de septiembre de 2013 13:07:28 UTC-3, Oscar.Rieken escribió:
>
> I will look at it but I personally use Chronic 
> https://github.com/mojombo/chronic
>
>
> On Tue, Sep 10, 2013 at 11:55 AM, Roman Rodriguez 
> <[email protected]<javascript:>
> > wrote:
>
>> Hi folks,
>>
>> I've published my first gem called 'dater'. 
>> http://romantestdev.github.io/dater/
>>
>> It's helpful when you want to use future dates like 'in 5 days', 'in 2 
>> weeks, 'in 3 months' or 'in 1 year'
>> It's good to forget about future dates treatment, so you can use literal 
>> expressions in cucumber steps in regression tests like:
>>
>> *When I search a flight with departure 'in 1 week'*
>> *And return 'in 3 weeks'*
>>
>> Also, it has methods for yesterday, today and tomorrow
>>
>> Hope it help.
>>
>> Appreciate all comments.
>>
>> All the best!
>>
>>
>>
>>  -- 
>> -- 
>> Before posting, please read http://watir.com/support. In short: search 
>> before you ask, be nice.
>>  
>> [email protected] <javascript:>
>> http://groups.google.com/group/watir-general
>> [email protected] <javascript:>
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to