From 49d53654ba7266a7ec384cf697e3fe02ec1ff9e2 Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Thu, 23 Nov 2023 10:30:43 +0000 Subject: [PATCH] Add cheat sheet entry on `rose date` -> `isodatetime` (#670) --- src/7-to-8/cheat-sheet.rst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/7-to-8/cheat-sheet.rst b/src/7-to-8/cheat-sheet.rst index 56de58b99a..8484afca68 100644 --- a/src/7-to-8/cheat-sheet.rst +++ b/src/7-to-8/cheat-sheet.rst @@ -260,6 +260,33 @@ Generate a visualisation for a workflow without running it: The web UI will have full graph vis. in a future release. +Datetime Operations +------------------- + +Datetime operations in task scripts: + +.. list-table:: + :class: grid-table + + * - **Cylc 7** & Rose 2019 + - **Cylc 8** (Rose 2) + * - :: + + rose date --offset + - :: + + isodatetime --offset + * - :: + + rose date -c + # equivalent to: + rose date "$CYLC_TASK_CYCLE_POINT" + - :: + + isodatetime ref + # equivalent to: + isodatetime "$CYLC_TASK_CYCLE_POINT" + Rose Stem ---------