mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 23:42:00 +01:00
Fix typo
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -56,7 +56,7 @@ String? dateToYYYYMMDD(DateTime? dateTime) {
|
||||
/// Convert a date to UTC and then to an ISO8601 string.
|
||||
///
|
||||
/// This makes sure that the serialized data has correct timezone information.
|
||||
/// Otherwise the django backend will possible treat the date as local time,
|
||||
/// Otherwise the django backend will possibly treat the date as local time,
|
||||
/// which will not be correct in most cases.
|
||||
String dateToUtcIso8601(DateTime dateTime) {
|
||||
return dateTime.toUtc().toIso8601String();
|
||||
|
||||
Reference in New Issue
Block a user