utils/normalise_timestamp library

Normalise timestamp. Copyright (C) 2025, Software Innovation Institute, ANU

Licensed under the GNU General Public License, Version 3 (the "License");

License: https://www.gnu.org/licenses/gpl-3.0.en.html

Authors: Ashley Tang

Functions

normaliseTimestamp(String timestamp, {bool toIso = false}) String
Normalises a timestamp string to ensure it contains the 'T' separator and optionally the 'Z' UTC timezone indicator.