parsi-date 0.2.1 → 0.2.2
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/Gemfile.lock +1 -1
- data/lib/parsi-date.rb +1 -1
- data/lib/version.rb +1 -1
- data/spec/parsi-date/constants_spec.rb +1 -1
- data/spec/parsi-date/strftime_spec.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
data/lib/parsi-date.rb
CHANGED
@@ -99,7 +99,7 @@ module Parsi
|
|
99
99
|
# Full names of days of the week, in Farsi. Days of the week
|
100
100
|
# count from 0 to 6; a day's numerical representation indexed into this array gives
|
101
101
|
# the name of that day.
|
102
|
-
DAYNAMES = %w(
|
102
|
+
DAYNAMES = %w(یکشنبه دوشنبه سهشنبه چهارشنبه چنجشنبه جمعه شنبه)
|
103
103
|
|
104
104
|
# Full names of days of the week, in English. Days of the week
|
105
105
|
# count from 0 to 6; a day's numerical representation indexed into this array gives
|
data/lib/version.rb
CHANGED
@@ -18,7 +18,7 @@ describe "Date constants" do
|
|
18
18
|
end
|
19
19
|
|
20
20
|
it "defines DAYNAMES" do
|
21
|
-
Parsi::Date::DAYNAMES.should == %w(
|
21
|
+
Parsi::Date::DAYNAMES.should == %w(یکشنبه دوشنبه سهشنبه چهارشنبه چنجشنبه جمعه شنبه)
|
22
22
|
end
|
23
23
|
|
24
24
|
it "defines EN_DAYNAMES" do
|
@@ -8,7 +8,7 @@ describe "Parsi::Date#strftime" do
|
|
8
8
|
end
|
9
9
|
|
10
10
|
it "should be able to print the full day name" do
|
11
|
-
Parsi::Date.civil(1390, 4, 6).strftime("%A").should == "
|
11
|
+
Parsi::Date.civil(1390, 4, 6).strftime("%A").should == "دوشنبه"
|
12
12
|
end
|
13
13
|
|
14
14
|
it "should be able to print the short day name" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parsi-date
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
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-10-
|
12
|
+
date: 2012-10-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|