- 11 12月, 2012 1 次提交
-
-
由 Andrew White 提交于
The Time.time_with_datetime_fallback, Time.utc_time and Time.local_time methods were added to handle the limitations of Ruby's native Time implementation. Those limitations no longer apply so we are deprecating them in 4.0 and they will be removed in 4.1.
-
- 05 12月, 2012 1 次提交
-
-
由 claudiob 提交于
Sometimes, on Mac OS X, programmers accidentally press Option+Space rather than just Space and don’t see the difference. The problem is that Option+Space writes a non-breaking space (0XA0) rather than a normal space (0x20). This commit removes all the non-breaking spaces inadvertently introduced in the comments of the code.
-
- 02 12月, 2012 1 次提交
-
-
由 Andrew White 提交于
When there are missing components in the Hash returned by Date._parse only the date components should default to the value of Time.zone.now, the time components should all default to zero.
-
- 01 12月, 2012 1 次提交
-
-
由 Andrew White 提交于
Chrome, Safari and Firefox serialize Date objects to strings such as 'Mon May 28 2012 00:00:00 GMT-0700 (PDT)'. When these strings are parsed the zone is interpreted as 'GMT-0700' which doesn't exist in the TzInfo list of timezones. By taking advantage of the improved date/time handling in 1.9.3 we can use `Date._parse` and the `:offset` value which is parsed correctly. Three tests were amended to make them pass: 1. test_parse_with_old_date This needed changing to a different value because the original value was before EST was adopted so was being changed to a LMT (Local Mean Time) value after the change. It didn't before because `DateTime` just has offsets from UTC not timezones. 2. test_parse_should_not_black_out_system_timezone_dst_jump Changed the implementation of this test as the stubs were dependent on internal implementation details of the test. Confirmed that the modified test still failed when the implementation of `parse` was restored to pre-#5571. 3. test_parse_should_black_out_app_timezone_dst_jump Ditto. Closes #5770.
-
- 02 11月, 2012 1 次提交
-
-
由 Steve Klabnik 提交于
Fixes #8095. For reference, here is the discussion about the mapping being incorrect: http://rubyforge.org/pipermail/tzinfo-users/2012-November/000114.html
-
- 15 9月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 01 7月, 2012 1 次提交
-
-
由 Andrew White 提交于
Time#at no longer raises an error for large values so we can remove the rescue clause from ActiveSupport::TimeZone#to_f.
-
- 14 5月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 01 5月, 2012 2 次提交
-
-
由 Vijay Dev 提交于
-
由 Rob Zolkos 提交于
-
- 14 4月, 2012 1 次提交
-
-
由 Dave Gerton 提交于
Correcting some confusion. Pago Pago is part of American Samoa, not Samoa. Further, Samoa and Tokelau jumped across the IDL from Dec 29 to Dec 31, 2011 switching from UTC-11 to UTC+13. American Samoa did not make the change and remains at UTC-11. Pacific/Fakaofo and Pacific/Apia are in TZInfo and documentation about the dateline change is in austalasia at IANA.
-
- 25 3月, 2012 1 次提交
-
-
由 Jarkko Laine 提交于
The system timezone DST jump hour should not be blacked out by Time.zone.parse if current Time.zone does not do the jump at that time. Fixes #5559.
-
- 17 3月, 2012 3 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 07 3月, 2012 1 次提交
-
-
由 Vijay Dev 提交于
Removed some useless docstrings and no-doc'ed some.
-
- 07 9月, 2011 1 次提交
-
-
由 Tim Lucas 提交于
This wasn't a problem when require_tzinfo was only called from TimeZone#initialize, but now it's being called for every lookup to TimeZone.[] (via lazy_zones_map) TimeZone lookup can occur when unmarshalling TimeWithZone objects, which is where I first saw the big slowdown (500ms for each Rails action that loaded from Rails.cache)
-
- 16 8月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
Fix tzinfo require (it broke test_raises_when_an_invalid_timezone_is_defined_in_the_config in railties)
-
由 Jon Leighton 提交于
-
- 23 5月, 2011 1 次提交
-
-
由 Vishnu Atrai 提交于
-
- 13 7月, 2010 1 次提交
-
-
由 Benjamin Quorning 提交于
-
- 03 7月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
[#4979 state:committed]
-
- 29 6月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
[#4942 state:committed] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 22 6月, 2010 1 次提交
-
-
由 Josh Kalderimis 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 11 6月, 2010 1 次提交
-
-
由 Evgeniy Dolzhenko 提交于
-
- 03 6月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 01 6月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 21 4月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Jeremy Kemper 提交于
-
- 15 4月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 03 4月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
- 31 3月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 26 3月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 27 1月, 2010 1 次提交
-
-
由 Geoff Buesing 提交于
Georgetown TimeZone is now mapped to "America/Guyana" instead of "America/Argentina/San_Juan" [#1821 status:resolved]
-
- 20 1月, 2010 1 次提交
-
-
由 Prem Sichanugrist 提交于
Fix bug that causes TimeZone.seconds_to_utc_offset to returns wrong offset when hour < 0 and not in hundreds [#3741 status:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 14 11月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 09 11月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 28 10月, 2009 1 次提交
-
-
由 Phil Ross 提交于
-
- 25 9月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-