Skip to content

Commit

Permalink
Removing use of Time.gm which fails on 32-bit systems for times far i…
Browse files Browse the repository at this point in the history
…n the future
  • Loading branch information
fraser committed Nov 30, 2010
1 parent ab2b1d7 commit 418d2a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/vpim/rrule.rb
Expand Up @@ -452,7 +452,7 @@ def self.time_from_rfc2425(str) #:nodoc:
d = Vpim.decode_date_time(str)
# We get [ year, month, day, hour, min, sec, usec, tz ]
if(d.pop == "Z")
t = Time.gm(*d)
t = Time.use_zone("UTC") { Time.zone.local(*d) }
else
t = Time.zone.local(*d)
end
Expand Down
2 changes: 1 addition & 1 deletion vpim-rails.gemspec
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = %q{vpim-rails}
s.version = "0.663"
s.version = "0.664"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Sam Roberts", "Fraser Newton"]
Expand Down

0 comments on commit 418d2a8

Please sign in to comment.