This project is archived and is in readonly mode.
Use `Time.current` in AS::CoreExtensions::Numeric::Time to maintain consistency with AS::Duration
-
Prem Sichanugrist (sikachu)
- Assigned user changed from José Valim to Santiago Pastorino
Santiago, could you please apply this patch for me?
Thank you :D
-
Santiago Pastorino
Prem the patch looks good, do you mind to add tests the same way Geoff did.
Thanks. -
Prem Sichanugrist (sikachu)
Here is the patch with tests added. Actually, I was copied the test from Geoff as it tests the same thing. I can confirm that it is failing before the applying the change :)
Thank you
-
Prem Sichanugrist (sikachu)
Oh wait, I shouldn't say copy. I copy and 'modified' it.
Thanks :)
-
Repository
- State changed from new to committed
(from [af6757a1ca7027b526b35d74c94a520d6bb24d7a]) Use
Time.currentto maintain consistency with AS::DurationIn [32b82e4c6f5523cdf5ee78c3022c50b46e018351], the committer has switch
methods in AS::Duration to useTime.currentto return the correct
duration based on theTime.default_zoneinstead of usingTime.now.[#5607 Use `Time.current` in AS::CoreExtensions::Numeric::Time to maintain consisten... state:committed]
Signed-off-by: Santiago Pastorino santiago@wyeworks.com
http://github.com/rails/rails/commit/af6757a1ca7027b526b35d74c94a52... -
Repository
(from [e125bf264eeedf4251010eb2989dc8e5b8e33d86]) Use
Time.currentto maintain consistency with AS::DurationIn [32b82e4c6f5523cdf5ee78c3022c50b46e018351], the committer has switch
methods in AS::Duration to useTime.currentto return the correct
duration based on theTime.default_zoneinstead of usingTime.now.[#5607 Use `Time.current` in AS::CoreExtensions::Numeric::Time to maintain consisten... state:committed]
Signed-off-by: Santiago Pastorino santiago@wyeworks.com
http://github.com/rails/rails/commit/e125bf264eeedf4251010eb2989dc8... -
Santiago Pastorino
- Milestone changed from 3.x to 2.3.10
- State changed from committed to open
- Assigned user changed from Santiago Pastorino to Geoff Buesing
-
Prem Sichanugrist (sikachu)
Santiago, why reopen? Is there anything else I can do?
-
Santiago Pastorino
No it's ok i applied your patch on 3-0-stable and master. But ... you added a patch for 2-3-stable too and i didn't applied it.
That's why i reopened for Milestone 2.3.10. -
Prem Sichanugrist (sikachu)
- State changed from open to resolved
I don't think this needed to be applied anymore, as our momentum is moving toward Rails 3. :)
