calendar_sniper 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/calendar_sniper/version.rb +1 -1
- data/lib/calendar_sniper.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YjZhZjFhZTkyZDI2N2VmNjhiZWYyOGEwYWQ3ZGQzYjhmNDY0Y2NmYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzcxNzg0NzNhZmQzYjEzMmVkNmViZTNhZmFmYmRjM2Q4OWQ4MGNkNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Mzk5MjUzM2FmOTM3ZDc0YzkwNTg1ZjVmZDFkMzk3YWVmNTgzM2IwNmZjNThh
|
10
|
+
NmVmZGUwYTAyMjVmYzExZmU4MjhkZTYzYWRhMWFmNDRiNmExMzZhNzlhNjYw
|
11
|
+
YzgzODY3OTQxNjZjYjRmNTY4MTViN2FkZjZiMTg4ZmYyZDYzYWU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjQ2MTFmZDUyMzc5MDkwYzJhMzI4ZWQ2YTFlYjc5MDYxNmNhYjg0NmRiNWVk
|
14
|
+
MzIyZTlmYzkwZDJiYTdjOTJkNTViMDI1Y2VlZWVlNmNmNmEzOGJmMDQ1ODZm
|
15
|
+
MzZlMjU3NjAyY2QxYzc3Y2ZlOGNmOWNjNDA4NmM1ZTc2OTQxYzI=
|
data/lib/calendar_sniper.rb
CHANGED
@@ -59,7 +59,7 @@ module CalendarSniper
|
|
59
59
|
elsif /^\d{4}-\d{1,2}-\d{1,2}/ =~ str
|
60
60
|
if /^\d{4}-\d{1,2}-\d{1,2} \S+/ =~ str
|
61
61
|
'%Y-%m-%d %Z'
|
62
|
-
elsif /^\d{4}-\d{1,2}-\d{1,2} \d{1,2}:\d{2}:\d{2}+/
|
62
|
+
elsif /^\d{4}-\d{1,2}-\d{1,2} \d{1,2}:\d{2}:\d{2}+/ =~ str
|
63
63
|
'%Y-%m-%d %k:%M:%S'
|
64
64
|
else
|
65
65
|
'%Y-%m-%d'
|