Skip to content

Commit

Permalink
Merge pull request #495 from nextcloud/test/french-seconds-ago
Browse files Browse the repository at this point in the history
Test alleged translation bug with 'seconds ago' and French
  • Loading branch information
ChristophWurst authored Feb 28, 2022
2 parents fdefa7f + 7db0b2d commit d1d20cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ describe('moment', () => {
expect(moment.locale()).to.equal('de-at')
})

it('shows correct french translation', () => {
moment.locale('fr')

expect(moment().fromNow()).to.equal('il y a quelques secondes')
})
})

})

0 comments on commit d1d20cb

Please sign in to comment.