mirror of https://gitlab.com/bashrc2/epicyon
Expire field
parent
53f4d59069
commit
95129e2e58
|
@ -838,7 +838,7 @@ def sharesCatalogAccountEndpoint(baseDir: str, httpPrefix: str,
|
||||||
if not re.match(matchPattern, description):
|
if not re.match(matchPattern, description):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
expireDate = datetime.datetime.fromtimestamp(item['durationSec'])
|
expireDate = datetime.datetime.fromtimestamp(item['expire'])
|
||||||
expireDateStr = expireDate.strftime("%Y-%m-%dT%H:%M:%SZ")
|
expireDateStr = expireDate.strftime("%Y-%m-%dT%H:%M:%SZ")
|
||||||
|
|
||||||
shareId = getValidSharedItemID(owner, item['displayName'])
|
shareId = getValidSharedItemID(owner, item['displayName'])
|
||||||
|
@ -925,7 +925,7 @@ def sharesCatalogEndpoint(baseDir: str, httpPrefix: str,
|
||||||
continue
|
continue
|
||||||
|
|
||||||
expireDate = \
|
expireDate = \
|
||||||
datetime.datetime.fromtimestamp(item['durationSec'])
|
datetime.datetime.fromtimestamp(item['expire'])
|
||||||
expireDateStr = expireDate.strftime("%Y-%m-%dT%H:%M:%SZ")
|
expireDateStr = expireDate.strftime("%Y-%m-%dT%H:%M:%SZ")
|
||||||
|
|
||||||
shareId = getValidSharedItemID(owner, item['displayName'])
|
shareId = getValidSharedItemID(owner, item['displayName'])
|
||||||
|
|
Loading…
Reference in New Issue