Skip to content

Commit

Permalink
Add cheat sheet entry on rose date -> isodatetime (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie authored Nov 23, 2023
1 parent 9de0792 commit 49d5365
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/7-to-8/cheat-sheet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <point> --offset <offset>
- ::

isodatetime <point> --offset <offset>
* - ::

rose date -c
# equivalent to:
rose date "$CYLC_TASK_CYCLE_POINT"
- ::

isodatetime ref
# equivalent to:
isodatetime "$CYLC_TASK_CYCLE_POINT"

Rose Stem
---------

Expand Down

0 comments on commit 49d5365

Please sign in to comment.