tai64 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tai64.rb +4 -2
- data/lib/tai64/version.rb +1 -1
- metadata +2 -2
data/lib/tai64.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require "time"
|
1
2
|
require "tai64/version"
|
2
3
|
|
3
4
|
module Tai64
|
@@ -68,9 +69,10 @@ module Tai64
|
|
68
69
|
Label.new s % [ ts, tai_nanosecond ]
|
69
70
|
end
|
70
71
|
|
71
|
-
def
|
72
|
-
time.
|
72
|
+
def iso8601
|
73
|
+
time.iso8601
|
73
74
|
end
|
75
|
+
alias_method :to_s, :iso8601
|
74
76
|
end
|
75
77
|
|
76
78
|
class Label
|
data/lib/tai64/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tai64
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-12 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Work with TAI64 timestamps
|
15
15
|
email:
|