rudate 0.0.5 → 0.0.6
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.
- data/README.md +10 -0
- data/lib/rudate/version.rb +1 -1
- metadata +2 -2
- data/README +0 -6
data/README.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
## Rudate.to_s(Year,Month,Day) ##
|
2
|
+
convert from YMD to russian date
|
3
|
+
etc. `Rudate.to_s(1970,7,7)`
|
4
|
+
will output "1 Июля 1970г"
|
5
|
+
|
6
|
+
## Rudate.time(Unix_time) ##
|
7
|
+
convert from Time class to russian date
|
8
|
+
`time = Time.at(0)
|
9
|
+
Rudate.time(time)`
|
10
|
+
will output "1 Января 1970г"
|
data/lib/rudate/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rudate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -20,7 +20,7 @@ extra_rdoc_files: []
|
|
20
20
|
files:
|
21
21
|
- .gitignore
|
22
22
|
- Gemfile
|
23
|
-
- README
|
23
|
+
- README.md
|
24
24
|
- Rakefile
|
25
25
|
- lib/rudate.rb
|
26
26
|
- lib/rudate/version.rb
|
data/README
DELETED