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
6ea00a4f
Commit
6ea00a4f
authored
Dec 10, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(timpicker): another name change to make quick ranges nameing more consistent, fixes #3465
parent
aa4ac9fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
public/app/core/utils/rangeutil.ts
+1
-1
public/test/core/utils/rangeutil_specs.ts
+1
-1
No files found.
public/app/core/utils/rangeutil.ts
View file @
6ea00a4f
...
...
@@ -19,7 +19,7 @@ var rangeOptions = [
{
from
:
'now/d'
,
to
:
'now/d'
,
display
:
'Today'
,
section
:
2
},
{
from
:
'now/d'
,
to
:
'now'
,
display
:
'Today so far'
,
section
:
2
},
{
from
:
'now/w'
,
to
:
'now/w'
,
display
:
'This week'
,
section
:
2
},
{
from
:
'now/w'
,
to
:
'now'
,
display
:
'
W
eek so far'
,
section
:
2
},
{
from
:
'now/w'
,
to
:
'now'
,
display
:
'
This w
eek so far'
,
section
:
2
},
{
from
:
'now/M'
,
to
:
'now/M'
,
display
:
'This month'
,
section
:
2
},
{
from
:
'now/y'
,
to
:
'now/y'
,
display
:
'This year'
,
section
:
2
},
...
...
public/test/core/utils/rangeutil_specs.ts
View file @
6ea00a4f
...
...
@@ -46,7 +46,7 @@ describe("rangeUtil", () => {
it
(
'should handle now/w'
,
()
=>
{
var
info
=
rangeUtil
.
describeTextRange
(
'now/w'
);
expect
(
info
.
display
).
to
.
be
(
'
W
eek so far'
);
expect
(
info
.
display
).
to
.
be
(
'
This w
eek so far'
);
});
});
...
...
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