mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02:00
4 lines
140 B
Dart
4 lines
140 B
Dart
bool isAtSameMomentAs(DateTime? a, DateTime? b) =>
|
|
(a == null && b == null) ||
|
|
((a != null && b != null) && a.isAtSameMomentAs(b));
|