Geoff Buesing
|
1cda85d08a
|
Georgetown TimeZone is now mapped to "America/Guyana" instead of "America/Argentina/San_Juan" [#1821 status:resolved]
|
2010-01-26 20:18:17 -06:00 |
|
Prem Sichanugrist
|
6e62e89737
|
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: José Valim <jose.valim@gmail.com>
|
2010-01-19 20:31:33 +01:00 |
|
Jeremy Kemper
|
7eb4f2ecc5
|
Consolidate date & time landscape: require 'active_support/time'
|
2009-11-14 01:13:54 -08:00 |
|
Jeremy Kemper
|
8e32830412
|
Fix unresolved string extension dependencies
|
2009-11-08 22:49:31 -08:00 |
|
Phil Ross
|
9b67b7ba2f
|
Edinburgh TimeZone references "Europe/London" instead of "Europe/Dublin" [#3310 state:resolved]
|
2009-10-27 21:13:13 -05:00 |
|
Jeremy Kemper
|
0bd6e933c0
|
Restore split between require-time and runtime load path mungery. Simplifies vendor requires.
|
2009-09-24 18:38:18 -07:00 |
|
Joshua Peek
|
b2f0b8cbda
|
Rollback AS bundler work and improve activation of vendored dependencies
|
2009-09-13 22:55:46 -05:00 |
|
Geoff Buesing
|
71b1a4b39d
|
Kathmandu TimeZone: reference Asia/Kathmandu zone directly instead of through linked timezone
|
2009-06-07 21:43:44 -05:00 |
|
Alexander Dymo
|
2e7409f035
|
Change spelling of Kyev timezone to Kyiv [#2613 state:resolved]
|
2009-05-10 11:59:03 -05:00 |
|
Jeremy Kemper
|
9cc8a75d84
|
Insert in sorted order to avoid TimeZone sort
|
2009-04-07 21:03:40 -07:00 |
|
Jeremy Kemper
|
d848b7817f
|
Encapsulate date/time core extensions and constant autoloads in active_support/core/time
|
2009-03-31 10:03:35 -07:00 |
|
Jeremy Kemper
|
609c1988d2
|
Tease out Object#acts_like? behaviors
|
2009-03-28 23:43:26 -07:00 |
|
Jeremy Kemper
|
47c7177ef5
|
Explicit Time/DateTime dependencies
|
2009-03-26 19:10:37 -07:00 |
|
Jeremy Kemper
|
e094940c2b
|
Move Numeric#to_utc_offset_s to TimeZone.seconds_to_utc_offset
|
2009-03-23 22:01:51 -07:00 |
|
Jeremy Kemper
|
1250faa858
|
Lazy-require tzinfo for TimeZone
|
2008-11-23 16:08:00 -08:00 |
|
gbuesing
|
020a411304
|
TimeZone: fix base offset for Sri Jayawardenepura. Anchor tests for zone offsets to more current date
|
2008-11-13 09:04:06 -06:00 |
|
Phil Ross
|
02df503d3b
|
TimeZone: Caracas GMT offset changed to -4:30 [#1361 state:resolved]
|
2008-11-12 20:30:00 -06:00 |
|
Pratik Naik
|
18e7bf2865
|
Fix Brasilia timezone. [#1180 state:resolved]
|
2008-10-17 23:43:26 +02:00 |
|
Manfred Stienstra
|
22f75d539d
|
Simplify ActiveSupport::Multibyte and make it run on Ruby 1.9.
* Unicode methods are now defined directly on Chars instead of a handler
* Updated Unicode database to Unicode 5.1.0
* Improved documentation
|
2008-09-21 17:21:30 +02:00 |
|
Jamis Buck
|
5bbca48c22
|
Fix Sri Jayawardenepura time zone to map to Asia/Colombo
|
2008-09-10 13:32:10 -06:00 |
|
Ernie Miller
|
d0092dc44d
|
Added support for regexp matching of priority zones in time_zone_select [#195 state:resolved]
|
2008-06-29 13:37:07 -05:00 |
|
Joshua Peek
|
c08547d226
|
Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ActiveSupport [#238 state:resolved]
|
2008-06-03 13:32:53 -05:00 |
|
gbuesing
|
f88267d532
|
TimeZone#to_s shows offset as GMT instead of UTC, because GMT will be more familiar to end users (see time zone selects used by Windows OS, google.com and yahoo.com.) Reverts [8370]
|
2008-05-25 11:56:29 -05:00 |
|
Pratik Naik
|
98dc582742
|
Merge docrails.
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-05-25 12:29:00 +01:00 |
|
gbuesing
|
c1c1d6c2ea
|
Adding documentation for time zone features
|
2008-05-18 14:13:47 -05:00 |
|
Martin Eisenhardt
|
fc02eabf29
|
Precompute TimeZone.us_zones [#199 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-05-15 09:22:44 -05:00 |
|
gbuesing
|
06a7c2948a
|
Time.zone.parse: return nil for strings with no date information
|
2008-05-08 21:30:17 -05:00 |
|
gbuesing
|
fb9bf16e96
|
Time.zone.parse: compatibility with far future date with time zone offset in string. Eliminate creation of additional TimeWithZone instance to determine utc offset.
|
2008-05-08 20:56:38 -05:00 |
|
Scott Fleckenstein
|
eb5b93be74
|
Fix Time.zone.parse from stripping time zone information and make Time aware attribute methods use Time.zone.parse instead of to_time
|
2008-05-08 19:25:31 -05:00 |
|
Joshua Peek
|
a40223d36d
|
Preload TimeZone zones for thread safety.
|
2008-05-04 21:53:07 -05:00 |
|
Geoff Buesing
|
d4493bc562
|
Bundling abbreviated version of TZInfo gem 0.3.8: only the classes and zone definitions required to support Rails time zone features are included. If a recent version of the full TZInfo gem is installed, this will take precedence over the bundled version
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 22:24:35 +00:00 |
|
Geoff Buesing
|
59183eec6f
|
Time.zone= accepts TZInfo::Timezone instances and Olson identifiers; wraps result in TimeZone instance
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 04:06:47 +00:00 |
|
Geoff Buesing
|
f371f29265
|
Make TimeWithZone work with tzinfo 0.2.x: use TZInfo::Timezone#zone_identifier alias for #abbreviation, silence warnings on tests. Raise LoadError when TZInfo version is < 0.2 by sniffing for TZInfo::TimeOrDateTime constant. Move all tzinfo-dependent TimeZone tests into uses_tzinfo block
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9071 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-21 22:48:00 +00:00 |
|
Geoff Buesing
|
fe7c68ee5d
|
TZInfo caches Timezone instances in its own internal hash cache, so TimeZone::MAPPING doesn't need to cache them as well
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9046 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-17 05:14:26 +00:00 |
|
Geoff Buesing
|
2366fdbdb1
|
Adding TimeZone#parse
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-17 05:07:50 +00:00 |
|
Geoff Buesing
|
b132413885
|
Adding TimeZone#at and DateTime#to_f
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9042 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-17 03:45:32 +00:00 |
|
Geoff Buesing
|
77ee522bf6
|
TimeWithZone caches TZInfo::TimezonePeriod used for time conversion so that it can be reused, and enforces DST rules correctly when instance is created from a local time
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-17 02:40:28 +00:00 |
|
Geoff Buesing
|
ba91fddc44
|
TimeZone #local and #now correctly enforce DST rules
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-11 05:39:13 +00:00 |
|
Geoff Buesing
|
52b57c662c
|
TimeWithZone instances correctly enforce DST rules. Adding TimeZone#period_for_utc
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-11 04:26:20 +00:00 |
|
Geoff Buesing
|
94fa9fb745
|
TimeZone#new renamed #local, so that new TimeWithZone instances can be created via Time.zone.local()
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-10 17:02:22 +00:00 |
|
Rick Olson
|
72385a7be6
|
Add Time Zone support to ActiveRecord, and config.time_zone property for specifying a default Time Zone. Closes #10982 [Geoff Buesing, rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8806 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-06 06:43:02 +00:00 |
|
Rick Olson
|
9623264c09
|
Remove unnofficial 'PST' timezone
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8747 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-29 01:23:53 +00:00 |
|
Rick Olson
|
bd72d06374
|
Support retrieving TimeZones with a Duration. TimeZone[-28800] == TimeZone[-480.minutes]. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8746 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-29 01:09:49 +00:00 |
|
Geoff Buesing
|
4b2ac708b7
|
Adding UTC zone to TimeZone; TimeWithZone no longer has to fake UTC zone with nil
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-25 18:23:22 +00:00 |
|
Geoff Buesing
|
2168178bdb
|
TimeZone#to_s uses UTC rather than GMT; reapplying change that was undone in [8679]. References #1689
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8716 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-25 03:54:10 +00:00 |
|
Geoff Buesing
|
213fac6f49
|
TimeZone#now returns an ActiveSupport::TimeWithZone
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8710 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 20:49:53 +00:00 |
|
Geoff Buesing
|
2e7b2f0344
|
Adding alternate_utc_string option to TimeZone#formatted_offset. Removing unneeded TimeZone#offset
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 02:11:00 +00:00 |
|
Geoff Buesing
|
1d4f4cdfe2
|
Replace non-dst-aware TimeZone class with dst-aware class from tzinfo_timezone plugin. TimeZone#adjust and #unadjust are no longer available; tzinfo gem must now be present in order to perform time zone calculations, via #local_to_utc and #utc_to_local methods.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-21 03:55:54 +00:00 |
|
Geoff Buesing
|
e9dad7496d
|
Refactor number-to-HH:MM-string conversion logic from TimeZone#formatted_offset to reusable Numeric#to_utc_offset_s method
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-12 20:44:31 +00:00 |
|
Jeremy Kemper
|
dc3e55d117
|
TimeZone#to_s uses UTC rather than GMT. References #1689.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8370 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 10:08:07 +00:00 |
|