Skip to content

Commit 2c973d3

Browse files
committed
format
1 parent 7501418 commit 2c973d3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/stream_feed/lib/src/core/util/utc_converter.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class DateTimeUTCConverter implements JsonConverter<DateTime, String> {
1212
String toJson(DateTime json) => formatDateWithOffset(json);
1313
}
1414

15-
1615
String formatDateWithOffset(DateTime date) {
1716
String twoDigits(int n) => n >= 10 ? '$n' : '0$n';
1817

@@ -22,4 +21,4 @@ String formatDateWithOffset(DateTime date) {
2221
final formattedDate = DateFormat('yyyy-MM-ddTHH:mm:ss').format(date);
2322

2423
return '$formattedDate$sign$hours:$minutes';
25-
}
24+
}

0 commit comments

Comments
 (0)