From 559c025a22e7a1df0182c505017eec7cb3d2228e Mon Sep 17 00:00:00 2001 From: tadf Date: Sat, 21 May 2011 12:25:03 +0000 Subject: * 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 --- ext/date/date_strftime.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ext/date/date_strftime.c') diff --git a/ext/date/date_strftime.c b/ext/date/date_strftime.c index 2b20f310f9..3596b52235 100644 --- a/ext/date/date_strftime.c +++ b/ext/date/date_strftime.c @@ -602,14 +602,12 @@ date_strftime_with_tmx(char *s, size_t maxsize, const char *format, continue; #endif - #ifdef VMS_EXT case 'v': /* date as dd-bbb-YYYY */ STRFTIME("%e-%^b-%4Y"); continue; #endif - #ifdef POSIX2_DATE case 'C': FMTV('0', 2, "d", div(tmx->year, INT2FIX(100))); @@ -677,7 +675,6 @@ date_strftime_with_tmx(char *s, size_t maxsize, const char *format, #endif /* ISO_DATE_EXT */ - case 'L': w = 3; goto subsec; @@ -834,7 +831,6 @@ isleap(long year) return ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0); } - static void tmx2tm_noyear(const struct tmx *tmx, struct tm *result) { -- cgit v1.2.3