fix(core): update

This commit is contained in:
2019-06-18 14:38:57 +02:00
parent 388649659c
commit 30d18db4af
2 changed files with 82 additions and 1 deletions

View File

@ -16,4 +16,9 @@ tap.test('should create a date and time with European Format', async () => {
console.log(extendedDate);
});
tap.test('should create a European date string', async () => {
const extendedDate = smarttime.ExtendedDate.fromHyphedDate('2018-02-13');
expect(extendedDate.exportToEuropeanDate()).to.equal('13.02.2018');
});
tap.start();