summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/date.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/date.rb b/lib/date.rb
index ce1d327127..f3edb5374b 100644
--- a/lib/date.rb
+++ b/lib/date.rb
@@ -1,7 +1,7 @@
#
# date.rb - date and time library
#
-# Author: Tadayoshi Funaba 1998-2008
+# Author: Tadayoshi Funaba 1998-2009
#
# Documentation: William Webber <william@williamwebber.com>
#
@@ -927,7 +927,7 @@ class Date
elem[e] = d.__send__(e)
end
elem[:wnum1] ||= 0
- elem[:wday] ||= 0
+ elem[:wday] ||= 1
end
end