vpim-rails 0.663 → 0.664

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/vpim/rrule.rb +1 -1
  2. metadata +3 -3
@@ -452,7 +452,7 @@ module Vpim
452
452
  d = Vpim.decode_date_time(str)
453
453
  # We get [ year, month, day, hour, min, sec, usec, tz ]
454
454
  if(d.pop == "Z")
455
- t = Time.gm(*d)
455
+ t = Time.use_zone("UTC") { Time.zone.local(*d) }
456
456
  else
457
457
  t = Time.zone.local(*d)
458
458
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vpim-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1317
4
+ hash: 1339
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 663
9
- version: "0.663"
8
+ - 664
9
+ version: "0.664"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sam Roberts