Skip to content

Commit

Permalink
Add extra test for formatting fixed ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
Michiel ter Reehorst committed Nov 12, 2018
1 parent 8686094 commit 48fdb76
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/format.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ describe('RelativeRange#format', function () {
});

const translations = [{
range: new RelativeRange({ start: '2000-01-01', end: '2000-01-01' }),
format: 'L',
locales: {
en: '01/01/2000',
nl: '01-01-2000',
de: '01.01.2000',
},
}, {
range: range.current('day'),
format: 'L',
locales: {
Expand Down

0 comments on commit 48fdb76

Please sign in to comment.