Refactor/implement new design for Wine #48

Merged
KevinMidboe merged 8 commits from refactor/wine-ui into master 2020-10-11 16:27:38 +00:00
Showing only changes of commit 9c1b290219 - Show all commits

View File

@@ -1,5 +1,8 @@
const dateString = (date) => {
if (typeof(date) == "string") {
date = new Date(date);
}
const ye = new Intl.DateTimeFormat('en', { year: 'numeric' }).format(date)
const mo = new Intl.DateTimeFormat('en', { month: '2-digit' }).format(date)
const da = new Intl.DateTimeFormat('en', { day: '2-digit' }).format(date)