summaryrefslogtreecommitdiff
path: root/ext/date/date_strftime.c
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-21 12:25:03 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-21 12:25:03 +0000
commit559c025a22e7a1df0182c505017eec7cb3d2228e (patch)
tree94a871cf9f9b59e144a2d31b44cd0d4c884c98f4 /ext/date/date_strftime.c
parent42cb637942628ab87119482e4bcf372cdc19f6d6 (diff)
* 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
Diffstat (limited to 'ext/date/date_strftime.c')
-rw-r--r--ext/date/date_strftime.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/date/date_strftime.c b/ext/date/date_strftime.c
index 2b20f31..3596b52 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)
{