fix(timpicker): another name change to make quick ranges nameing more consistent, fixes #3465

This commit is contained in:
Torkel Ödegaard 2015-12-10 13:01:41 +01:00
parent aa4ac9fa05
commit 6ea00a4f7c
2 changed files with 2 additions and 2 deletions

View File

@ -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: 'Week so far', section: 2 },
{ from: 'now/w', to: 'now', display: 'This week 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 },

View File

@ -46,7 +46,7 @@ describe("rangeUtil", () => {
it('should handle now/w', () => {
var info = rangeUtil.describeTextRange('now/w');
expect(info.display).to.be('Week so far');
expect(info.display).to.be('This week so far');
});
});