http://github.com/search?type=Everything&language=ruby&q=time+zone&repo=&langOverride=&x=15&y=5&start_value=1
On Wed, Sep 15, 2010 at 4:28 PM, Priya Buvan wrote:
> Hi Shyam,
>
> Thanks for the quick response. But Rails 2.2. is not supporting
> TimeZone.
>
> Thanks,
> Priya
> --
> Posted via http:
Hi Shyam,
Thanks for the quick response. But Rails 2.2. is not supporting
TimeZone.
Thanks,
Priya
--
Posted via http://www.ruby-forum.com/.
--
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 rubyonrai
Hi Frederick,
That makes a lot more sense and that's what I've done. I think I was
expecting too much magic out of Active Record / Rails. I'm still
getting up to speed on this time zone stuff. I'm not sure why the prior
approach ever worked at all (on my Mac). There are times where I still
On 15 Nov 2008, at 05:47, John Hohlen wrote:
>
> The error below has been encountered using both Rails 2.1.1 and 2.1.2.
>
> I have a strange Time Zone / Active Record persistence error that only
> occurs on Windows (it works fine on OS X). In addition, it only
> occurs
> when I run my entire
Frederick Cheung wrote:
> On 5 Nov 2008, at 09:09, MR Damien wrote:
>
>>>
>> convert a DateTime to Time.
> You can also use rails' date/time calculation things, for example
>
> t += 5.seconds
>
> does the right thing whether t is a Time or a DateTime
>
> Fred
Hey,
Thanks for that trick.
--
On 5 Nov 2008, at 09:09, MR Damien wrote:
>
> Frederick Cheung wrote:
>> On Nov 4, 5:32�pm, MR Damien <[EMAIL PROTECTED]>
>> wrote:
>>> Time.zone = @time_zone # 'Paris'
>>> code, it failed.
>>>
>> Are you sure your date is an instance of Time and not an instance of
>> Date? (for Date - 1 means
Frederick Cheung wrote:
> On Nov 4, 5:32�pm, MR Damien <[EMAIL PROTECTED]> wrote:
>> Time.zone = @time_zone # 'Paris'
>> code, it failed.
>>
> Are you sure your date is an instance of Time and not an instance of
> Date? (for Date - 1 means -1 day so -3600 would be about 10 years ie
> somewhere in
On Nov 4, 5:32 pm, MR Damien <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am trying to change a date from a time zone to UTC.
>
> First I set the time zone and then get its offset from UTC.
>
> Then I am trying to change the time zone of my date by substracting the
> offset but it failed.
>
> ---
On Tue, Oct 14, 2008 at 12:24 AM, Abhishek shukla <[EMAIL PROTECTED]> wrote:
> Still i am very confuse my requirement is like a user save there timezone,
> then whenever he logs in he should see the time as per wat he set in
> timezone currently it displaying my system timezone.
>
> So what excat
Hi nathan,
Thanks for your response,
Still i am very confuse my requirement is like a user save there timezone,
then whenever he logs in he should see the time as per wat he set in
timezone currently it displaying my system timezone.
So what excatly i'll need to do? Do i need to create a method in
Follow this tutorial:
http://mad.ly/2008/04/09/rails-21-time-zone-support-an-overview/
Abhishek shukla wrote:
> Hello friends,
> My question is like if the user select the time zone for his country the
> application timezone should display the selected time zone.
>
> so for implement this what
11 matches
Mail list logo