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 |
|
Jeremy Kemper
|
bcbcc0260b
|
Ruby 1.9 compat: TimeZone avoids localtime conversion. References #1689 [Chu Yeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 10:05:43 +00:00 |
|
David Heinemeier Hansson
|
6ca789bf00
|
Fixed that La Paz was included in -25200 and -14400 offsets when it should only be in -14400 (closes #9735) [bermi]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-30 22:56:37 +00:00 |
|
Jeremy Kemper
|
053d057a88
|
send -> send! for some private methods
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7659 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 10:41:12 +00:00 |
|
Michael Koziarski
|
e899190826
|
Pull in latest multibyte patch. Closes #6346 [Manfred Stienstra]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-04 09:03:57 +00:00 |
|
Michael Koziarski
|
f238d495b7
|
Add ActiveSupport::Multibyte. Provides String#chars which lets you deal with strings as a sequence of chars, not of bytes. Closes #6242 [Julian Tarkhanov, Manfred Stienstra & Jan Behrens]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-03 23:45:32 +00:00 |
|
Jeremy Kemper
|
d31830cf9c
|
fix test warnings
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4386 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-31 22:43:53 +00:00 |
|
David Heinemeier Hansson
|
f73f9e42f4
|
Made TimeZone even more delicious #709
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@787 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-24 11:56:09 +00:00 |
|
David Heinemeier Hansson
|
65d3430baf
|
Fixed TimeZone issues in action-pack and active-support #704
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 23:55:59 +00:00 |
|
David Heinemeier Hansson
|
f9fca1eb63
|
Moved TimeZone to Active Support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 15:13:03 +00:00 |
|