tadf
cb9beafd11
* test/date/test_date_{parse,strptime}.rb: changed the format of
...
some extra messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-11 10:02:32 +00:00
tadf
9f773625e5
* ext/date/date_parse.c (iso8601_{ext,bas}_time): should not match
...
empty string.
- この行以下は無視されます --
M ChangeLog
M ext/date/date_parse.c
M test/date/test_date_parse.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-28 10:16:02 +00:00
tadf
280681f40c
* ext/date/date_core.c: [ruby-core:47226].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-22 10:42:15 +00:00
nobu
d059d718b5
remove trainling spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-21 04:50:18 +00:00
tadf
949d740a32
uncommented some tests
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-04 22:07:42 +00:00
tadf
bd52bed97b
* ext/date/date_core.c: [ruby-core:46058].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 20:56:50 +00:00
tadf
c8cde4e2be
* ext/date/date_core.c (d_lite_marshal_load): accepts old dump.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 20:37:38 +00:00
tadf
5dc5a52612
modified tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-03 05:17:38 +00:00
nobu
a000c52b83
* untabified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-27 02:23:14 +00:00
tadf
9f698ff1d5
modified test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-27 01:05:31 +00:00
tadf
00fd38644d
* ext/date/date_strftime.c: should also be aware of flags on
...
complex specifier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-15 22:03:37 +00:00
tadf
3486a98a71
* ext/date/date_core.c: [ruby-core:42998]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-28 11:28:23 +00:00
tadf
8cd604c6c7
* reverted 34739 for test/date.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 10:23:23 +00:00
nobu
b67bc8d722
* test/date, test/rdoc: exclude tests dependent on unbundled libraries.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 09:34:59 +00:00
tadf
49d65bc4d6
ext/date/date_parse.c: [ruby-core:42173].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-18 22:13:10 +00:00
tadf
5aea2ad18c
* ext/date/date_core.c: uses to_integer instead.
...
* test/date/test_switch_hitter.rb: added a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-20 12:03:42 +00:00
nobu
f26ee7454f
* test/date/test_date_base.rb (test_jd): tests for
...
[ruby-dev:45008].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-20 02:49:15 +00:00
tadf
c67712ef63
* test/date/test_*.rb: added tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-13 00:41:10 +00:00
tadf
23658b355c
* ext/date/date_core.c: avoided using timev.
...
* ext/date/date_strftime.c: ditto.
* ext/date/date_tmx.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29 14:47:04 +00:00
tadf
a252c17e15
* test/date/test_switch_hitter.rb: added a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-26 14:50:09 +00:00
tadf
5b16ddf504
* ext/date/date_core.c (datetime_s_*): canonicalize 24 o'clock.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-21 11:42:50 +00:00
tadf
614ec73fc8
* test/date/test_*.rb: added tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 13:52:25 +00:00
tadf
a6567f2b99
* ext/date/date_core.c (Date::(ABBR_)?(MONTH|DAY)NAMES): should be usascii.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 10:36:19 +00:00
tadf
dc62f1b651
* test/date/test_switch_hitter.rb: added a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-06 13:00:38 +00:00
tadf
2cdd0a87ef
* ext/date/date_core.c: flattened format to strftimev.
...
* ext/date/date_core.c (date_strftime_internal): taints run.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-06 12:05:12 +00:00
tadf
899d2c14b0
* ext/date/date_core.c: use simple/complex mode instead of light/right mode.
...
* test/date/*.rb: followed the above changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-31 13:28:48 +00:00
tadf
1f35d2485c
* ext/date/date_strftime(date_strftime_with_tmx): "%v" means "%e-%b-%Y".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-21 13:47:18 +00:00
tadf
a04e4ae82b
added tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-21 13:07:46 +00:00
tadf
d39f52e87b
* test/date/test_switch_hitter.rb: new.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-21 12:47:07 +00:00
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
tadf
10c4a861eb
* test/ruby/test_{complex2,complexrational}.rb: use skip.
...
* test/date/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 13:18:47 +00:00
tadf
6b8bc66e4d
fixed
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 12:01:59 +00:00
tadf
a4ecf14d58
* test/date/*.rb: NEVER SKIP.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 11:56:32 +00:00
tadf
5518dc64cf
* test/date/*.rb: reverted 31432.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 11:38:25 +00:00
tadf
dbe8aba7f9
* test/date/*.rb: reverted 31483.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 11:33:41 +00:00
naruse
bf92aa8b16
Revert r31478.
...
In CRuby's test-all, skip is for something to be fixed.
When some external library is missing, it should silently return;
don't flood the test result with meaningless messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 11:15:23 +00:00
tadf
847b461452
* test/date/*.rb: use skip /w messages.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 08:18:10 +00:00
kosaki
674a33edf5
* test/date/test_date_base.rb: don't use no message skip().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-04 13:10:06 +00:00
yugui
7ad29955a6
* test/date/test_date.rb (TestDate#test_coerce):
...
test for [ruby-core:35127].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-03 09:31:13 +00:00
tadf
184e9e9d88
use skip
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26 16:05:49 +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
naruse
f2b3d51787
Fix test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28 08:11:31 +00:00
naruse
09a4ae1bbc
* ext/date/date_core.c (date_s_today): use int for year.
...
* ext/date/date_core.c (datetime_s_now): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28 02:41:31 +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
b8bc68113a
* test/date/{test_date.rb,test_date_attr.rb}: [ruby-dev:43280]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-01 10:48:23 +00:00
tadf
6e9ca64843
added some tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 22:28:53 +00:00
tadf
9d2025c881
* lib/date.rb, lib/date/format.rb: [ruby-core:31695]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-22 15:24:03 +00:00
nobu
fab47c96c5
* ksvndifftest/date/test_date_parse.rb: use UTF-8 literals.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-17 08:18:52 +00:00
tadf
cfed2cefb2
* lib/date/format.rb (strptime): removed \v; since \s includes \v.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16 23:22:13 +00:00