Skip to content

Commit

Permalink
DBC22-1835: Change camera image friendly time to full timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
minORC committed Apr 12, 2024
1 parent c360870 commit cec80a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/frontend/src/Components/cameras/CameraCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default function CameraCard(props) {
}
<div className="timestamp">
<p className="driveBC">Drive<span>BC</span></p>
<FriendlyTime date={camera.last_update_modified} />
<FriendlyTime date={camera.last_update_modified} asDate={true} />
</div>
<p className="label">{camera.caption}</p>
</Card.Body>
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/Components/map/camPopup.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function CamPopup(props) {
</div>
<div className="timestamp">
<p className="driveBC">Drive<span>BC</span></p>
<FriendlyTime date={camera.last_update_modified} includeFullIfHumanized />
<FriendlyTime date={camera.last_update_modified} asDate={true} />
</div>
</div> :
<div className="popup__content__image">
Expand Down

0 comments on commit cec80a8

Please sign in to comment.