summaryrefslogtreecommitdiffstats
path: root/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/time.c b/time.c
index b111bca64..e54c65505 100644
--- a/time.c
+++ b/time.c
@@ -2091,6 +2091,8 @@ rb_strftime_alloc(char **buf, const char *format,
* %6N microsecond (6 digits)
* %9N nanosecond (9 digits)
* %p - Meridian indicator (``AM'' or ``PM'')
+ * %P - Meridian indicator (``am'' or ``pm'')
+ * %s - Number of seconds since 1970-01-01 00:00:00 UTC.
* %S - Second of the minute (00..60)
* %U - Week number of the current year,
* starting with the first Sunday as the first