2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-14 18:42:31 +03:00

Add support for Date's

Fixes #47
This commit is contained in:
Rocco Bruyn
2020-06-14 17:40:19 +02:00
parent d27a9f7f3e
commit 262d94f7e0
3 changed files with 35 additions and 7 deletions
+4 -4
View File
@@ -71,8 +71,8 @@ new Vue({
the Analytical Engine. She was the first to recognise that the machine had applications beyond pure calculation,
and published the first algorithm intended to be carried out by such a machine.
As a result, she is sometimes regarded as the first to recognise the full potential of a "computing machine" and the first computer programmer.`,
bornAt: '1815-12-10T00:00:00.000Z',
diedAt: '1852-11-27T00:00:00.000Z'
bornAt: new Date('1815-12-10T00:00:00.000Z'),
diedAt: new Date('1852-11-27T00:00:00.000Z')
}, {
id: '5968fcad629fa84ab65a5246',
firstname: 'Grace',
@@ -99,8 +99,8 @@ new Vue({
she was a pioneer of computer programming who invented one of the first compiler related tools.
She popularized the idea of machine-independent programming languages, which led to the development of COBOL,
an early high-level programming language still in use today.`,
bornAt: '1815-12-10T00:00:00.000Z',
diedAt: '1852-11-27T00:00:00.000Z'
bornAt: new Date('1815-12-10T00:00:00.000Z'),
diedAt: new Date('1852-11-27T00:00:00.000Z')
}
]
}