aboutsummaryrefslogtreecommitdiffstats
path: root/strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'strftime.c')
-rw-r--r--strftime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/strftime.c b/strftime.c
index 79c5fe4fa8..248c695e01 100644
--- a/strftime.c
+++ b/strftime.c
@@ -319,6 +319,7 @@ rb_strftime(char *s, size_t maxsize, const char *format, const struct tm *timept
goto unknown;
case '%':
+ FILL_PADDING(1);
*s++ = '%';
continue;