simple_calendar 1.1.8 → 1.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd430428d8267982d912d7d355d2ffa2ca0e8e4f
4
- data.tar.gz: 93ce6c4c4aecbf41340d0b7eb95bc73a2f61a3a5
3
+ metadata.gz: 65fb5fd5211c292f991e0ae45d44aabad4ef9bbc
4
+ data.tar.gz: 5aae83bda73fa5357a46fa11eb768f83cac7eeca
5
5
  SHA512:
6
- metadata.gz: ad2a504f0e4f27aac924664d024a734ce66e86df8f471cdd73f5f3b9563ef131258e47ba40bfcd597db487de36cfe2373553798f5b17b3ca6cafb45462d74901
7
- data.tar.gz: 07329c876a2a4543a9c181979db6123516acbab7d0ab609dace0d5c04f7aa688f32c9dbbb6bd50588c9b8fd50609daf3a845c47206168af31fba42185951078e
6
+ metadata.gz: f2a87f319397852670c5ba042bc3642d33dd51a1c4e98a6814b576bba198440d86e14251e06e55e295c86dce52e114387473be345a83aa6c5d53e339b27ff451
7
+ data.tar.gz: 444b28f23ea11284ac1919c9371680a8554bdd75ed20fc4e315fdb42be9a83440e931c0e3ec2ce8b7461338618a368bfeb5090a2de5975c5d5140e1d3f5fbbb2
@@ -73,7 +73,7 @@ module SimpleCalendar
73
73
  def events_for_date(current_date)
74
74
  if events.any? && events.first.respond_to?(:simple_calendar_start_time)
75
75
  events.select do |e|
76
- current_date == @timezone.utc_to_local(e.send(:simple_calendar_start_time).beginning_of_day).to_date
76
+ current_date == e.send(:simple_calendar_start_time).in_time_zone(@timezone).to_date
77
77
  end.sort_by(&:simple_calendar_start_time)
78
78
  else
79
79
  events
@@ -1,3 +1,3 @@
1
1
  module SimpleCalendar
2
- VERSION = "1.1.8"
2
+ VERSION = "1.1.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_calendar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.8
4
+ version: 1.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-16 00:00:00.000000000 Z
11
+ date: 2014-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails