Document AddDays and AddHours date filters - #3326
Merged
Merged
Conversation
Includes a worked ServiceNow change-window example, and a warning that Octopus.Task.QueueTime is queue time rather than execution start, so a window derived from it starts counting down while the task is queued. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Pull request environment is available at https://stoctodocspr3326.z22.web.core.windows.net. You can view the ephemeral environment status in Octopus Deploy. This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity. |
This was referenced Aug 10, 2026
CI lints only changed files, so editing this page surfaces violations that already fail on main. Limited to what the linter actually reports: two misaligned tables, asterisk list markers, a hard tab, trailing whitespace, duplicate blank lines, and a missing blank line after a heading. Each table keeps its own separator style, so the diff stays close to what the rules require. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
NickJosevski
force-pushed
the
nj/date-filters
branch
from
August 10, 2026 10:59
4d0512d to
b7bd32f
Compare
NickJosevski
marked this pull request as ready for review
August 10, 2026 11:04
Includes a worked ServiceNow change-window example, and a warning that Octopus.Task.QueueTime is queue time rather than execution start, so a window derived from it starts counting down while the task is queued. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
CI lints only changed files, so editing this page surfaces violations that already fail on main. Limited to what the linter actually reports: two misaligned tables, asterisk list markers, a hard tab, trailing whitespace, duplicate blank lines, and a missing blank line after a heading. Each table keeps its own separator style, so the diff stays close to what the rules require. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
NickJosevski
force-pushed
the
nj/date-filters
branch
from
August 10, 2026 11:05
b7bd32f to
ff06983
Compare
sathvikkumar-octo
approved these changes
Aug 11, 2026
# Conflicts: # src/pages/docs/projects/variables/variable-substitutions.mdx
… into nj/date-filters # Conflicts: # src/pages/docs/projects/variables/variable-substitutions.mdx
NickJosevski
enabled auto-merge (rebase)
August 11, 2026 09:47
auto-merge was automatically disabled
August 11, 2026 09:54
Rebase failed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the
AddDaysandAddHoursvariable filters added in Octostache 3.9.3, shipping in Octopus Server 2026.3.11319.Changes
variable-filters.md— an### AddDays and AddHourssection under Date filters, plus rows in the date-filters table.Covers negative amounts, fractional amounts (which must be quoted, since an unquoted filter argument can't contain a decimal point), time-zone preservation, and the echo-on-bad-input behaviour. Every value in the examples was produced by running the expression through the implementation rather than written by hand.
The section ends with a worked ServiceNow change-window example, and a warning that
Octopus.Task.QueueTimeis queue time rather than execution start — so a window derived from it starts counting down while the task is still queued.Second commit
Fixes pre-existing markdownlint violations in this file. CI lints only changed files, so editing the page surfaces violations that already fail on main. Scoped to what the linter actually reports — two misaligned tables, asterisk list markers, a hard tab, trailing whitespace, duplicate blank lines, a missing blank line after a heading. Each table keeps its own separator style, so the diff stays close to what the rules require.
Note
An earlier revision of this PR also added the filters to the flat list in
variable-substitutions.mdx. That list has since been removed onmain— the page now links to this one for the full set — so the change was dropped when resolving the merge.🤖 Generated with Claude Code