changeset 206:b10480e4453e

Fix bug in default timestamp format in command line
author Amine Sehili <amine.sehili@gmail.com>
date Wed, 05 Jun 2019 20:58:15 +0100
parents f3f8e2c9274d
children 12e6837c5961
files auditok/cmdline.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/auditok/cmdline.py	Sat Jun 01 17:28:53 2019 +0100
+++ b/auditok/cmdline.py	Wed Jun 05 20:58:15 2019 +0100
@@ -321,9 +321,9 @@
             "--timestamp-format",
             dest="timestamp_format",
             type=str,
-            default="%Y/%m/%D %H:%M:%S",
+            default="%Y/%m/%d %H:%M:%S",
             help="format used to print {timestamp}. Should be a format accepted by "
-            "datetime Default %%Y/%%m/%%D %%H:%%M:%%S",
+            "datetime Default %%Y/%%m/%%d %%H:%%M:%%S",
         )
         parser.add_argument(
             "-q",