mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
Date formatting, take 3 (#746)
This commit is contained in:
parent
498b4a8820
commit
f8ed0f4aeb
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ export const UpdatedDate = (props: IProps) =>
|
|||
props.updatedDate
|
||||
? <li className="list-group-item">
|
||||
<p>Updated: {moment(props.updatedDate).isValid()
|
||||
? moment(props.updatedDate).local().format("l")
|
||||
? moment(props.updatedDate).format("l").toLocaleString()
|
||||
: "N/A"}</p>
|
||||
</li>
|
||||
: null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue