matz
e382f7f00e
* lib/date/format.rb: specify maximum number of digits to parse
...
"200608007". %Y(4), %y(2), %m(2), %d(2). [ruby-core:8484]
[experimental]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-07 06:17:38 +00:00
tadf
50ef71fa1e
%[EO]U didn't denote %U.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-06 11:41:12 +00:00
tadf
7e10b0c4de
"%\n" means "\n".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-05 04:55:00 +00:00
nobu
d040c69a58
* lib/date/format.rb (__strptime, strftime): allow multi-line patterns
...
in Date#strftime the same as Time#strftime accepts.
fixed: [ruby-core:08466]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 05:02:54 +00:00
tadf
b393a2bc5f
synchronized with date2 3.6.3
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 05:05:18 +00:00
tadf
033709e5e4
checks whether zone was given.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-06 02:24:35 +00:00
tadf
f2d983cb8d
synchronized with date2 3.6.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 00:48:19 +00:00
tadf
720a23df0a
synchronized with date2 3.5.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 22:01:12 +00:00
tadf
782b6ceac3
yyyy/mm is not an acceptable format.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-31 01:26:29 +00:00
tadf
f001f2f6d5
synchronized with date2 3.3.2.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-04 10:14:07 +00:00
akr
0977fe1705
* instruby.rb, ext/extmk.rb, lib/benchmark.rb, lib/cgi.rb,
...
lib/debug.rb, lib/getoptlong.rb, lib/optparse.rb, lib/time.rb,
lib/date/format.rb, lib/irb/ruby-lex.rb lib/uri/common.rb: revert
escape for `-' in character class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-29 06:39:50 +00:00
akr
cdfb48ea7d
* lib/date/format.rb, lib/uri/common.rb: [',
]', `-' in chracter
...
class in regexp to avoid warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-21 17:00:59 +00:00
akr
58ef7c2088
* regex.c (re_compile_pattern): fix previous change.
...
* instruby.rb, ext/extmk.rb, ext/tk/lib/tk.rb, lib/benchmark.rb,
lib/cgi.rb, lib/debug.rb, lib/getoptlong.rb, lib/jcode.rb,
lib/optparse.rb, lib/time.rb, lib/date/format.rb,
lib/irb/ruby-lex.rb: escape `[', `]', `-' in chracter class in
regexp to avoid warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-21 15:13:23 +00:00
nobu
29cef5f795
use Object#class instead of deprecated Object#type.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-02 16:45:35 +00:00
tadf
0e866a2e51
updated to the new version (based on date2 3.3).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-22 15:26:58 +00:00
tadf
dc9cd6a8c2
updated to the new version (based on date2 3.2.1).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-18 12:41:51 +00:00