10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-11-05 05:33:55 +01:00
QUESTDB_website/static/js/pubUtils.js

6 lines
163 B
JavaScript
Raw Normal View History

class pubUtils{
static getIssuedDate(publi) {
const parts=publi.issued["date-parts"][0]
2020-05-04 14:11:36 +02:00
return new Date(Date.UTC(parts[0], parts[1] - 1, parts[2]))
}
}