fix(date): now supports date and time

This commit is contained in:
2018-10-21 12:12:44 +02:00
parent f161f71c4e
commit 2a14d928a8
3 changed files with 19 additions and 1 deletions

View File

@ -7,4 +7,9 @@ tap.test('should create a valid JavaScript Date from European TimeStamp', async
console.log(extendedDate);
});
tap.test('should create a date and time with European Format', async () => {
const extendedDate = smarttime.ExtendedDate.fromEuropeanDateAndTime('10.10.2018', '08:00:00', 'Europe/Berlin');
console.log(extendedDate);
})
tap.start();