Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
6c2cf42a
Unverified
Commit
6c2cf42a
authored
Feb 17, 2021
by
Hugo Häggmark
Committed by
GitHub
Feb 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: Clarifies custom date formats for variables (#31271)
parent
14afa167
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
docs/sources/variables/variable-types/global-variables.md
+1
-1
No files found.
docs/sources/variables/variable-types/global-variables.md
View file @
6c2cf42a
...
...
@@ -27,7 +27,7 @@ Grafana has two built in time range variables: `$__from` and `$__to`. They are c
|
`${__from:date}`
| 2020-07-13T20:19:09.254Z | No args, defaults to ISO 8601/RFC 3339 |
|
`${__from:date:iso}`
| 2020-07-13T20:19:09.254Z | ISO 8601/RFC 3339 |
|
`${__from:date:seconds}`
| 1594671549 | Unix seconds epoch |
|
`${__from:date:YYYY-MM}`
| 2020-07 | Any custom
[
date format
](
https://momentjs.com/docs/#/displaying/
)
|
|
`${__from:date:YYYY-MM}`
| 2020-07 | Any custom
[
date format
](
https://momentjs.com/docs/#/displaying/
)
that does not include the
`:`
character
|
The above syntax works with
`${__to}`
as well.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment