Fix typo in end time serialization
This commit is contained in:
parent
f9e90dab06
commit
791d606336
4 changed files with 8 additions and 8 deletions
|
@ -54,22 +54,22 @@ class _WorkData extends State<WorkDataPage> {
|
|||
"Total saved GPS Positions: ${SessionData.positions.length}",
|
||||
style: TextStyle(fontSize: 18),
|
||||
),
|
||||
if (SessionData.StartTime.year != 0)
|
||||
if (SessionData.StartTime.year > 2000)
|
||||
Text(
|
||||
"Start Date & Time: ${SessionData.StartTime.toString()}",
|
||||
style: TextStyle(fontSize: 18),
|
||||
),
|
||||
if (SessionData.IsReadOnly && SessionData.StartTime.year != 0)
|
||||
if (SessionData.IsReadOnly && SessionData.StartTime.year > 2000)
|
||||
Text(
|
||||
"End Date & Time: ${SessionData.EndTime.toString()}",
|
||||
style: TextStyle(fontSize: 18),
|
||||
),
|
||||
if (SessionData.StartTime.year != 0)
|
||||
if (SessionData.StartTime.year > 2000)
|
||||
Text(
|
||||
"Total time worked: ${SessionData.GetTotalTimeWorked(SessionData.StartTime, SessionData.EndTime)}",
|
||||
style: TextStyle(fontSize: 18),
|
||||
),
|
||||
if (SessionData.StartTime.year == 0)
|
||||
if (SessionData.StartTime.year < 2000)
|
||||
ListTile(
|
||||
title: Text("ERROR"),
|
||||
subtitle: Text(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue