From fa579d92c43d06e1657c9086f9605d5e89f9bab9 Mon Sep 17 00:00:00 2001 From: Knugi <24708955+KnugiHK@users.noreply.github.com> Date: Mon, 12 Feb 2024 09:19:35 +0000 Subject: [PATCH] Updated Filters (markdown) --- Filters.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Filters.md b/Filters.md index 3b50f0a..c683a55 100644 --- a/Filters.md +++ b/Filters.md @@ -11,27 +11,27 @@ The option takes keywords to identify the type and therefore the format must be * After filter keyword: `> `, and the format is `> ` ## Date Format -The default date format is `%Y-%m-%d %H:%M`. You can change it with the `--range-format` option. The value should be a formatting string supported by `strftime` and `strptime` functions. +The default date format is `%Y-%m-%d %H:%M`. You can change it with the `--date-format` option. The value should be a formatting string supported by `strftime` and `strptime` functions. -For example, if you want to supply an ISO compliant date: `wtsexporter -a --range "< 2024-01-01T00:00:00.00000Z" --range-format "%Y-%m-%dT%H:%M:%S.%fZ"` +For example, if you want to supply an ISO compliant date: `wtsexporter -a --date "< 2024-01-01T00:00:00.00000Z" --date-format "%Y-%m-%dT%H:%M:%S.%fZ"` ## Example ### Between This will export messages received or sent between 2023-01-01 00:00 to 2024-01-01 00:00, inclusively. ``` -wtsexporter.exe -a --range "2023-01-01 00:00 - 2024-01-01 00:00" +wtsexporter.exe -a --date "2023-01-01 00:00 - 2024-01-01 00:00" ``` ### Before This will only export messages received or sent before 2024-01-01 00:00. ``` -wtsexporter.exe -a --range "< 2024-01-01 00:00" +wtsexporter.exe -a --date "< 2024-01-01 00:00" ``` ### After This will only export messages received or sent after 2023-01-01 00:00. ``` -wtsexporter.exe -a --range "> 2023-01-01 00:00" +wtsexporter.exe -a --date "> 2023-01-01 00:00" ``` # Chat Filter