fix(event): dates no longer break when editing event

This commit is contained in:
ElPoyo
2026-06-15 15:28:52 +02:00
parent f32fe3e4e8
commit 3c49d6ed21
14 changed files with 105 additions and 29 deletions
+2 -2
View File
@@ -48,10 +48,10 @@ class FirebaseFunctionsApiService implements ApiService {
// Types Firestore
if (value is Timestamp) {
return value.toDate().toIso8601String();
return value.toDate().toUtc().toIso8601String();
}
if (value is DateTime) {
return value.toIso8601String();
return value.toUtc().toIso8601String();
}
if (value is DocumentReference) {
return value.path;