Skip to content

Commit b7ee98e

Browse files
authored
Merge pull request #669 from cylc/8.2.x
8.2.x
2 parents 345d8fb + 49d5365 commit b7ee98e

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

src/7-to-8/cheat-sheet.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,33 @@ Generate a visualisation for a workflow without running it:
260260

261261
The web UI will have full graph vis. in a future release.
262262

263+
Datetime Operations
264+
-------------------
265+
266+
Datetime operations in task scripts:
267+
268+
.. list-table::
269+
:class: grid-table
270+
271+
* - **Cylc 7** & Rose 2019
272+
- **Cylc 8** (Rose 2)
273+
* - ::
274+
275+
rose date <point> --offset <offset>
276+
- ::
277+
278+
isodatetime <point> --offset <offset>
279+
* - ::
280+
281+
rose date -c
282+
# equivalent to:
283+
rose date "$CYLC_TASK_CYCLE_POINT"
284+
- ::
285+
286+
isodatetime ref
287+
# equivalent to:
288+
isodatetime "$CYLC_TASK_CYCLE_POINT"
289+
263290
Rose Stem
264291
---------
265292

src/user-guide/writing-workflows/scheduling.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -599,10 +599,7 @@ The Environment Variable CYLC\_WORKFLOW\_INITIAL\_CYCLE\_POINT
599599

600600
At start up the initial cycle point is passed to job environments
601601
as ``$CYLC_WORKFLOW_INITIAL_CYCLE_POINT`` and stored in the workflow
602-
database to persist across restarts. However it gets wiped out (set to
603-
``None``) by a :term:`warm start` (``cylc play --start-cycle-point`` or ``cylc
604-
play --start-task``) - which is essentially a restart that ignores prior state
605-
information.
602+
database to persist across restarts.
606603

607604
The ``$CYLC_WORKFLOW_INITIAL_CYCLE_POINT`` variable allows tasks to
608605
check if they are running in the initial cycle point, when different behaviour

0 commit comments

Comments
 (0)