10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 22:03:49 +01:00

Support indexed date

This commit is contained in:
Mickaël Véril 2021-03-01 15:32:40 +01:00 committed by Anthony Scemama
parent 04a0d193af
commit 659bd97dd3

View File

@ -20,6 +20,9 @@ class pubUtils {
if (publi.issued != null) { if (publi.issued != null) {
return {type:"issued", dateInfo:publi.issued} return {type:"issued", dateInfo:publi.issued}
} }
else if (publi.indexed) {
return {type:"indexed", dateInfo:publi.indexed}
}
else { else {
return {type:"created", dateInfo:publi.created} return {type:"created", dateInfo:publi.created}
} }