From b858936c681ab2e6177f4e59e33160662c35063a Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Wed, 8 Oct 2025 16:08:23 +0900 Subject: [PATCH] Add test file for datetime helpers --- test-run/string_handling/datetime_helpers.py | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 test-run/string_handling/datetime_helpers.py diff --git a/test-run/string_handling/datetime_helpers.py b/test-run/string_handling/datetime_helpers.py new file mode 100644 index 0000000..5a60666 --- /dev/null +++ b/test-run/string_handling/datetime_helpers.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python3 + +""" +date string helper test +""" + +from corelibs.string_handling.datetime_helpers import get_datetime_iso8601 + + +def main() -> None: + """ + Comment + """ + print(get_datetime_iso8601()) + print(get_datetime_iso8601('Asia/Tokyo')) + print(get_datetime_iso8601('UTC')) + print(get_datetime_iso8601('Europe/Vienna')) + print(get_datetime_iso8601('America/New_York')) + print(get_datetime_iso8601('Australia/Sydney')) + print(get_datetime_iso8601('invalid')) + + +if __name__ == "__main__": + main() + +# __END__