diff --git a/src/builtin.cmod b/src/builtin.cmod index 73b6b130ccaaea0bff762c74878cbe3640192326..4deb5e509882ed73a931747b3061f230c066f949 100644 --- a/src/builtin.cmod +++ b/src/builtin.cmod @@ -270,14 +270,6 @@ PIKECLASS TM *! @item %j *! The day of the year as a decimal number (range 001 to 366). *! - *! @item %k - *! The hour (24-hour clock) as a decimal number (range 0 to 23); - *! single digits are preceded by a blank. (See also @expr{%H@}.) - *! - *! @item %l - *! The hour (12-hour clock) as a decimal number (range 1 to 12); - *! single digits are preceded by a blank. (See also @expr{%I@}.) - *! *! @item %m *! The month as a decimal number (range 01 to 12). *! diff --git a/src/modules/system/testsuite.in b/src/modules/system/testsuite.in index 43e96cd0d81076a6ba6dac6c08e1e52318ad6103..d020d4e3285442d7c55f29f57d11613db3f8cc82 100644 --- a/src/modules/system/testsuite.in +++ b/src/modules/system/testsuite.in @@ -304,10 +304,10 @@ test_eq(intp(System.TM(1513871300)->gmtoff), 1) test_eq(stringp(System.TM(1513871300)->zone), 1) test_eq(stringp(System.TM(1513871300)->asctime()), 1) test_eq(System.TM(1513871300)->unix_time(), 1513871300) -test_equal(map("%d%D%e%G%g%H%I%k%l%M%m%p%r%R%T%u%U%V%w"/2, +test_equal(map("%d%D%e%G%g%H%I%M%m%p%r%R%T%u%U%V%w"/2, System.TM(1513871300)->strftime), ({ "21", "12/21/17", "21", "2017", "17", - "15", "03", "15", " 3", "48", "12", "PM", + "15", "03", "48", "12", "PM", "03:48:20 PM", "15:48", "15:48:20", "4", "51", "51", "4" })) test_eq(stringp((string)System.TM(1513871300)), 1)