rudate 0.0.3 → 0.0.4
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 +2 -1
- data/lib/rudate/version.rb +1 -1
- data/lib/rudate.rb +1 -1
- metadata +1 -1
data/README
CHANGED
@@ -2,4 +2,5 @@ Rudate.to_s(Year,Month,Day) # convert from YMD to russian date
|
|
2
2
|
etc. Rudate.to_s(1900,1,1) will output "1 Января 1900г"
|
3
3
|
|
4
4
|
Rudate.to_s(Unix_time) # convert from unix time to russian date
|
5
|
-
|
5
|
+
time = Time.at(0)
|
6
|
+
etc. Rudate.to_s(time) will output "1 Января 1970г"
|
data/lib/rudate/version.rb
CHANGED
data/lib/rudate.rb
CHANGED