Handle broken dates from taiid-en-marine
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
7d54e8e8dc
commit
3b0b466ba4
|
@ -31,7 +31,10 @@ import "./helpers" as helpers;
|
|||
"@isPermaLink": "true",
|
||||
"#text": (.children[-2].children[0].href | helpers::urlresolve($link))
|
||||
},
|
||||
"pubDate": (.children[-3].text | strptime("%Y-%m-%d") | mktime | strftime("%a, %d %b %Y %T %z"))
|
||||
"pubDate": (
|
||||
try (.children[-3].text | strptime("%Y-%m-%d") | mktime | strftime("%a, %d %b %Y %T %z"))
|
||||
catch []
|
||||
)
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue