mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
add comma after day in moment dates
This commit is contained in:
parent
364ab28e7c
commit
fa568daf2a
1 changed files with 3 additions and 3 deletions
|
|
@ -114,7 +114,7 @@ function RuleCount(props: any) {
|
|||
function DiscontinuedDate(props: any) {
|
||||
return props.date
|
||||
? <li className="list-group-item">
|
||||
<p>Discontinued: {moment(props.date).format("MMM D Y")}</p>
|
||||
<p>Discontinued: {moment(props.date).format("MMM D, Y")}</p>
|
||||
</li>
|
||||
: null;
|
||||
}
|
||||
|
|
@ -122,7 +122,7 @@ function DiscontinuedDate(props: any) {
|
|||
function UpdatedDate(props: any) {
|
||||
return props.date
|
||||
? <li className="list-group-item">
|
||||
<p>Updated: {moment(props.date).format("MMM D Y")}</p>
|
||||
<p>Updated: {moment(props.date).format("MMM D, Y")}</p>
|
||||
</li>
|
||||
: null;
|
||||
}
|
||||
|
|
@ -130,7 +130,7 @@ function UpdatedDate(props: any) {
|
|||
function PublishedDate(props: any) {
|
||||
return props.date
|
||||
? <li className="list-group-item">
|
||||
<p>Published: {moment(props.date).format("MMM D Y")}</p>
|
||||
<p>Published: {moment(props.date).format("MMM D, Y")}</p>
|
||||
</li>
|
||||
: null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue