diff --git a/news/history-timestamp-filtering.rst b/news/history-timestamp-filtering.rst new file mode 100644 index 000000000..c2f95b8a4 --- /dev/null +++ b/news/history-timestamp-filtering.rst @@ -0,0 +1,25 @@ +**Added:** + +* ``history show`` args ``-t``, ``-f``, ``-T`` ``+T`` to filter commands by timestamp + +* ``ensure_timestamp`` in xonsh.tools to try and convert an object to a timestamp a.k.a float + +* ``$XONSH_DATETIME_FORMAT`` envvar, the default format to be used with ``datetime.datetime.strptime()`` + +**Changed:** + +* ``_hist_parse_args`` implementation refactor + +* moved all parameter checking in ``_hist_get`` + +* ``_hist_show`` to handle numeration and timestamp printing of commands + +**Deprecated:** None + +**Removed:** None + +**Fixed:** + +* ``ensure_slice`` bugfix for -1 index/slice + +**Security:** None