Skip to content

Commit

Permalink
Displaying seconds in event details for "Ran at" and "Issued at" fiel…
Browse files Browse the repository at this point in the history
…ds (#355)

In event details, for fields Issued at & Ran at, seconds are now displayed

Signed-off-by: Luc Dandoy <luc.dandoy@gmail.com>
  • Loading branch information
agm650 committed Jan 26, 2021
1 parent 83edc5a commit db8dc5f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ class EventDetailsCheckSummary extends React.PureComponent {
component={DateTime}
dateTime={check.issued}
short
second="numeric"
/>
</DictionaryValue>
</DictionaryEntry>
Expand All @@ -276,6 +277,7 @@ class EventDetailsCheckSummary extends React.PureComponent {
<DateStringFormatter
component={KitchenTime}
dateTime={check.executed}
second="numeric"
/>
{" for "}
<Duration duration={check.duration * 1000} />
Expand Down

0 comments on commit db8dc5f

Please sign in to comment.