Index: samples/swarm/swarm_ui_lib/util/DateUtils.dart |
diff --git a/samples/swarm/swarm_ui_lib/util/DateUtils.dart b/samples/swarm/swarm_ui_lib/util/DateUtils.dart |
index b492baa30667dabeff1fec02f08e4f472385c9e0..bfc4b2b14e7025269713b8b61122a9225cc67f9d 100644 |
--- a/samples/swarm/swarm_ui_lib/util/DateUtils.dart |
+++ b/samples/swarm/swarm_ui_lib/util/DateUtils.dart |
@@ -155,7 +155,7 @@ class DateUtils { |
int msSince1970 = dateTime.difference(unixTimeStart).inMilliseconds; |
int daysSince1970 = msSince1970 ~/ Duration.MILLISECONDS_PER_DAY; |
// 1970-1-1 was Thursday |
- return ((daysSince1970 + DateTime.THU) % DateTime.DAYS_IN_WEEK); |
+ return ((daysSince1970 + DateTime.THURSDAY) % DateTime.DAYS_IN_WEEK); |
} |
/** Formats a time in H:MM A format */ |