mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix: regression: sort day by fileCreatedAt again (#18732)
* fix: regression: sort day by fileCreatedAt again * lint * e2e test * inline function * e2e * Address comments. Drop dayGroup and timezone in favor of localOffsetMinutes * lint and some api-doc * lint, more api-doc * format * Move minutes to fractional hours * make sql * merge/conflict * merge fallout, review comments * spelling * drop offset from returned date * move description into decorator where possible, regen api
This commit is contained in:
parent
81423420c8
commit
55f4e93456
23 changed files with 687 additions and 247 deletions
4
mobile/openapi/lib/model/asset_response_dto.dart
generated
4
mobile/openapi/lib/model/asset_response_dto.dart
generated
|
|
@ -65,8 +65,10 @@ class AssetResponseDto {
|
|||
///
|
||||
ExifResponseDto? exifInfo;
|
||||
|
||||
/// The actual UTC timestamp when the file was created/captured, preserving timezone information. This is the authoritative timestamp for chronological sorting within timeline groups. Combined with timezone data, this can be used to determine the exact moment the photo was taken.
|
||||
DateTime fileCreatedAt;
|
||||
|
||||
/// The UTC timestamp when the file was last modified on the filesystem. This reflects the last time the physical file was changed, which may be different from when the photo was originally taken.
|
||||
DateTime fileModifiedAt;
|
||||
|
||||
bool hasMetadata;
|
||||
|
|
@ -86,6 +88,7 @@ class AssetResponseDto {
|
|||
|
||||
String? livePhotoVideoId;
|
||||
|
||||
/// The local date and time when the photo/video was taken, derived from EXIF metadata. This represents the photographer's local time regardless of timezone, stored as a timezone-agnostic timestamp. Used for timeline grouping by \"local\" days and months.
|
||||
DateTime localDateTime;
|
||||
|
||||
String originalFileName;
|
||||
|
|
@ -131,6 +134,7 @@ class AssetResponseDto {
|
|||
|
||||
List<AssetFaceWithoutPersonResponseDto> unassignedFaces;
|
||||
|
||||
/// The UTC timestamp when the asset record was last updated in the database. This is automatically maintained by the database and reflects when any field in the asset was last modified.
|
||||
DateTime updatedAt;
|
||||
|
||||
AssetVisibility visibility;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue