mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
image provider improvements
This commit is contained in:
parent
0d60199514
commit
f931060670
26 changed files with 1203 additions and 190 deletions
|
|
@ -85,3 +85,13 @@ extension DateRangeFormatting on DateTime {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
extension IsSameExtension on DateTime {
|
||||
bool isSameDay(DateTime other) {
|
||||
return day == other.day && month == other.month && year == other.year;
|
||||
}
|
||||
|
||||
bool isSameMonth(DateTime other) {
|
||||
return month == other.month && year == other.year;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue