X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=Documentation%2Fcore-api%2Fprintk-formats.rst;h=4346ae17a72c356ee640406636cc0db709e8dbf8;hb=cc396d27d8d5884bbb555efd7783b9e9e2b41dc2;hp=385c0cc52f1f5cb44cb47343478ec1f36735f054;hpb=07bdc0746a5a23c5bdd041feb2fd8cd7b5ee7a97;p=linux-2.6-microblaze.git diff --git a/Documentation/core-api/printk-formats.rst b/Documentation/core-api/printk-formats.rst index 385c0cc52f1f..4346ae17a72c 100644 --- a/Documentation/core-api/printk-formats.rst +++ b/Documentation/core-api/printk-formats.rst @@ -513,9 +513,10 @@ Time and date :: %pt[RT] YYYY-mm-ddTHH:MM:SS + %pt[RT]s YYYY-mm-dd HH:MM:SS %pt[RT]d YYYY-mm-dd %pt[RT]t HH:MM:SS - %pt[RT][dt][r] + %pt[RT][dt][r][s] For printing date and time as represented by:: @@ -527,6 +528,10 @@ in human readable format. By default year will be incremented by 1900 and month by 1. Use %pt[RT]r (raw) to suppress this behaviour. +The %pt[RT]s (space) will override ISO 8601 separator by using ' ' (space) +instead of 'T' (Capital T) between date and time. It won't have any effect +when date or time is omitted. + Passed by reference. struct clk