mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 10:28:50 +01:00
Handle time only in UTC internally
This commit is contained in:
parent
3e7b9ffe36
commit
deacacdd96
2 changed files with 4 additions and 3 deletions
|
@ -302,7 +302,8 @@ class File with EquatableMixin {
|
|||
if (contentLength != null) "contentLength": contentLength,
|
||||
if (contentType != null) "contentType": contentType,
|
||||
if (etag != null) "etag": etag,
|
||||
if (lastModified != null) "lastModified": lastModified.toIso8601String(),
|
||||
if (lastModified != null)
|
||||
"lastModified": lastModified.toUtc().toIso8601String(),
|
||||
if (isCollection != null) "isCollection": isCollection,
|
||||
if (usedBytes != null) "usedBytes": usedBytes,
|
||||
if (hasPreview != null) "hasPreview": hasPreview,
|
||||
|
|
|
@ -134,8 +134,8 @@ class _CertInfo {
|
|||
"sha1": sha1,
|
||||
"subject": subject,
|
||||
"issuer": issuer,
|
||||
"startValidity": startValidity.toIso8601String(),
|
||||
"endValidity": endValidity.toIso8601String(),
|
||||
"startValidity": startValidity.toUtc().toIso8601String(),
|
||||
"endValidity": endValidity.toUtc().toIso8601String(),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue