1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

19 commits

Author SHA1 Message Date
tadf
559c025a22 * ext/date/date_{core,parse}.c: moved nearly all core code from ext/date/lib.
* ext/date/lib/{date,date/format}.rb: removed nearly all code.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-21 12:25:03 +00:00
drbrain
f8488a270f * ext/date/lib/date/format.rb: Document date formats. Patch by
Clinton Nixon.  [Ruby 1.9 - Bug #4743]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-20 17:37:02 +00:00
tadf
d54240d35e * ext/date/lib/date/format.rb (_httpdate): omitted to call zone_to_diff.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 08:06:40 +00:00
tadf
9fe4a35e67 * ext/date/date_core.c: modified validation methods.
* ext/date/lib/date.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26 16:02:25 +00:00
tadf
b3defabde2 * ext/date/lib/date/format.rb (_iso8601): allowed day only civil
date.  disallowed separatorless day only ordinal date.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26 13:36:49 +00:00
tadf
03697bc1f3 * lib/time.rb: require 'date'.
* ext/date/lib/date/format.rb: removed require line.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-24 18:31:47 +00:00
tadf
fd93bad83f * ext/date/lib/date/format.rb: require 'date'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-24 18:09:24 +00:00
tadf
9f103e659e * ext/date/lib/date/format.rb (_iso8601): added a pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-24 18:07:24 +00:00
naruse
f3551c0476 * ext/date/lib/date/format.rb: require 'date_core.so'.
date/format needs methods which are now in date_core.so.
  This breaks make rdoc which uses Date._parse from time.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-24 18:04:47 +00:00
tadf
b7133cc6c7 * ext/date/lib/date/format.rb: fixed a bug of regex.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-24 17:48:33 +00:00
tadf
2115af3a46 * ext/date/lib/date/format.rb: an adjustment of regex.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-24 17:13:17 +00:00
tadf
60c7967e12 * ext/date/lib/date/format.rb: omitted to call _parse.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-24 17:00:18 +00:00
tadf
448e0d6668 * ext/date/date_core.c: replacement of implementation of
_parse.  [experimental]
	* ext/date/date_parse.c: new.
	* ext/date/lib/date/format.rb: removed ruby version of _parse.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-23 12:31:15 +00:00
tadf
ec01a8813f * ext/date/date_core.c: replacement of implementation of
_strptime.  [experimental]
	* ext/date/date_strptime.c: new.
	* ext/date/lib/date/format.rb: removed ruby version of _strptime.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-16 12:58:28 +00:00
naruse
4d09e8cd19 * ext/date/lib/date/format.rb (DateTime#strftime): removed because
date_core defines it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-25 20:29:55 +00:00
tadf
434157444f * ext/date/date_core.c: replacement of implementation of
strftime. It has some limitations that is same as Time's
	  one.  [experimental]
	* ext/date/date_strftime.c: new.
	* ext/date/lib/date/format.c: removed ruby version of strftime.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-20 12:44:47 +00:00
tadf
af7a09a687 * ext/date/date_core.c: changed some directives.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-11 16:27:25 +00:00
tadf
e26e4b2cdf * ext/date/date_core.c, ext/date/lib/*: moved rdoc descriptions.
- この行以下は無視されます --

M    ChangeLog
M    ext/date/date_core.c
M    ext/date/lib/date.rb
M    ext/date/lib/date/format.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-11 16:21:56 +00:00
tadf
f809440332 * ext/date/lib: moved from lib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-11 15:07:47 +00:00