fix(event): dates no longer break when editing event
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user