marsdate 1.0.8 → 1.0.9

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/marsdate.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91a9680f30166d3528c52679f921a48ad0ad28a4
4
- data.tar.gz: 7195698fed1ea2d463f8168dae2304e0a9f555f7
3
+ metadata.gz: 02a284cf5be9c893fc8d74b7ee32d4fd052ffe77
4
+ data.tar.gz: 71a6a801aed52a1151732fe263dc1896a23a7763
5
5
  SHA512:
6
- metadata.gz: c285c2fbd6248ed81c86c4891c23cce60179fbba4ec297af85ea33471e8b3a3a79d8c98e7f8004b5bab7ccff8f313ae597a8be828d504151bc688c7092067f43
7
- data.tar.gz: f3cc234b1880728f09accb81ec2af1142015191c197104c58b51e64c4db7833c5fdf1a901db560e2b24c47e9d76374987355a095cd7e4c7f12633c4d7e73d233
6
+ metadata.gz: 38799cf9d78d5cb64d927a6ab6ac00374531c0043eeb5684f0032c7d28b017167b2036d7acb37fdaaa54f0738c8c3388e93e0c126b3f78afbe22f84e6c38f9ba
7
+ data.tar.gz: 9bb4c5e6d6a7fc0a28ca2166c131561553d6291ef92e14d31032bf9f87b1ce5e0983ad81ca8222fef8cd3dda66777446d926eb1383165e608b717c82238d8afe
@@ -2,7 +2,7 @@ require 'date'
2
2
 
3
3
  class MarsDateTime
4
4
 
5
- VERSION = "1.0.8"
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-#@month-#@sol"
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.8
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-01 00:00:00.000000000 Z
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