marsdate 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/marsdate.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02a284cf5be9c893fc8d74b7ee32d4fd052ffe77
|
4
|
+
data.tar.gz: 71a6a801aed52a1151732fe263dc1896a23a7763
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38799cf9d78d5cb64d927a6ab6ac00374531c0043eeb5684f0032c7d28b017167b2036d7acb37fdaaa54f0738c8c3388e93e0c126b3f78afbe22f84e6c38f9ba
|
7
|
+
data.tar.gz: 9bb4c5e6d6a7fc0a28ca2166c131561553d6291ef92e14d31032bf9f87b1ce5e0983ad81ca8222fef8cd3dda66777446d926eb1383165e608b717c82238d8afe
|
data/lib/marsdate.rb
CHANGED
@@ -2,7 +2,7 @@ require 'date'
|
|
2
2
|
|
3
3
|
class MarsDateTime
|
4
4
|
|
5
|
-
VERSION = "1.0.
|
5
|
+
VERSION = "1.0.9"
|
6
6
|
|
7
7
|
include Comparable
|
8
8
|
|
@@ -267,7 +267,7 @@ class MarsDateTime
|
|
267
267
|
when "%B"; final << month_name
|
268
268
|
when "%d"; final << zsol
|
269
269
|
when "%e"; final << ('%2d' % @sol)
|
270
|
-
when "%F"; final << "#@year
|
270
|
+
when "%F"; final << "#@year-#{zmonth}-#{zsol}"
|
271
271
|
when "%H"; final << zhh
|
272
272
|
when "%j"; final << @year_sol.to_s
|
273
273
|
when "%m"; final << @month.to_s
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: marsdate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hal Fulton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
This is a library for handling dates and times on Mars
|