mirror of
https://github.com/immich-app/immich.git
synced 2026-02-14 21:08:15 +03:00
date->string
This commit is contained in:
@@ -48,7 +48,7 @@ class TimeBucketAssetResponseDto {
|
||||
|
||||
List<String> livePhotoVideoId;
|
||||
|
||||
List<DateTime> localDateTime;
|
||||
List<String> localDateTime;
|
||||
|
||||
List<String> ownerId;
|
||||
|
||||
@@ -154,7 +154,9 @@ class TimeBucketAssetResponseDto {
|
||||
livePhotoVideoId: json[r'livePhotoVideoId'] is Iterable
|
||||
? (json[r'livePhotoVideoId'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
localDateTime: DateTime.listFromJson(json[r'localDateTime']),
|
||||
localDateTime: json[r'localDateTime'] is Iterable
|
||||
? (json[r'localDateTime'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
ownerId: json[r'ownerId'] is Iterable
|
||||
? (json[r'ownerId'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
|
||||
Reference in New Issue
Block a user