fix(core): update

This commit is contained in:
2020-10-05 17:48:41 +00:00
parent cfcfde2132
commit 992d167a34
4 changed files with 144 additions and 41 deletions

View File

@ -21,4 +21,9 @@ tap.test('should create a European date string', async () => {
expect(extendedDate.exportToEuropeanDate()).to.equal('13.02.2018');
});
tap.test('should format a date', async () => {
const extendedDate = new smarttime.ExtendedDate(Date.now());
console.log(extendedDate.format('YYYY-MM-DD - hh:mm'));
})
tap.start();