mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 21:24:00 +01:00
6 lines
163 B
JavaScript
6 lines
163 B
JavaScript
class pubUtils{
|
|
static getIssuedDate(publi) {
|
|
const parts=publi.issued["date-parts"][0]
|
|
return new Date(Date.UTC(parts[0], parts[1] - 1, parts[2]))
|
|
}
|
|
} |