From 4da60728e3f4da0d0dd5936ba3708cf8fa833c5c 2011-11-28 18:57:16 From: Thomas Kluyver Date: 2011-11-28 18:57:16 Subject: [PATCH] Use \T for timestamp in templates to distinguish it from \t = --- diff --git a/IPython/core/prompts.py b/IPython/core/prompts.py index 21a5521..302e7e3 100644 --- a/IPython/core/prompts.py +++ b/IPython/core/prompts.py @@ -150,7 +150,7 @@ prompt_abbreviations = { r'\D': '{dots}', # Current time - r'\t' : '{time}', + r'\T' : '{time}', # Current working directory r'\w': '{cwd}', # Basename of current working directory.