From bd3664c6315dca15d15bdf4d4a6342b2131e041c Mon Sep 17 00:00:00 2001 From: anand Date: Sat, 13 Dec 2025 17:06:22 +0530 Subject: moving --- django/factwise-python/factwise_submission/plannerapp/utils.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 django/factwise-python/factwise_submission/plannerapp/utils.py (limited to 'django/factwise-python/factwise_submission/plannerapp/utils.py') diff --git a/django/factwise-python/factwise_submission/plannerapp/utils.py b/django/factwise-python/factwise_submission/plannerapp/utils.py new file mode 100644 index 0000000..af1d1cf --- /dev/null +++ b/django/factwise-python/factwise_submission/plannerapp/utils.py @@ -0,0 +1,9 @@ +import uuid +from datetime import datetime + +def now_iso(): + return datetime.utcnow().isoformat() + "Z" + +def new_id(): + return str(uuid.uuid4())[:8] + -- cgit v1.2.3