mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-27 05:20:22 +00:00
#94 deleted added to level 2
This commit is contained in:
parent
f3e7aff65a
commit
41929f8eb6
3 changed files with 11 additions and 6 deletions
|
@ -136,7 +136,8 @@
|
||||||
"Duration",
|
"Duration",
|
||||||
"Added",
|
"Added",
|
||||||
"Updated",
|
"Updated",
|
||||||
"Poster url"
|
"Poster url",
|
||||||
|
"Deleted"
|
||||||
|
|
||||||
],
|
],
|
||||||
"level3": [
|
"level3": [
|
||||||
|
@ -275,6 +276,12 @@
|
||||||
"key": "viewCount",
|
"key": "viewCount",
|
||||||
"call": 1,
|
"call": 1,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"Deleted":
|
||||||
|
{
|
||||||
|
"key": "$.deletedAt",
|
||||||
|
"call": 1,
|
||||||
|
"type": "datetime"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,8 +24,6 @@
|
||||||
"levels": {
|
"levels": {
|
||||||
"Level 1": "level1",
|
"Level 1": "level1",
|
||||||
"Level 2": "level2",
|
"Level 2": "level2",
|
||||||
"Level 3": "level3",
|
|
||||||
"Level 4": "level4",
|
|
||||||
"devTommy": "devtommy"
|
"devTommy": "devtommy"
|
||||||
},
|
},
|
||||||
"LevelCount": {
|
"LevelCount": {
|
||||||
|
|
|
@ -641,8 +641,8 @@ const excel2 = new class Excel {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "datetime":
|
case "datetime":
|
||||||
val = JSONPath({path: String(lookup), json: data});
|
val = JSONPath({path: String(lookup), json: data});
|
||||||
if ( typeof val !== 'undefined' && val )
|
if ( typeof val !== 'undefined' && val && val != '')
|
||||||
{
|
{
|
||||||
// Create a new JavaScript Date object based on the timestamp
|
// Create a new JavaScript Date object based on the timestamp
|
||||||
// multiplied by 1000 so that the argument is in milliseconds, not seconds.
|
// multiplied by 1000 so that the argument is in milliseconds, not seconds.
|
||||||
|
@ -658,7 +658,7 @@ const excel2 = new class Excel {
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
val = null
|
val = wtconfig.get('ET.NotAvail', 'N/A')
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue