Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Add missing updated web-components file
Browse files Browse the repository at this point in the history
  • Loading branch information
Chach Sikes authored and Chach Sikes committed Dec 2, 2021
1 parent 9bfb477 commit 8b47059
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
12 changes: 6 additions & 6 deletions cagov-design-system/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -170,16 +170,6 @@
dateFormatted = moment(date).format("MMMM DD, YYYY");
}

// if (meta !== null && meta.custom_post_date !== "") {
// try {
// dateFormatted = moment(meta.custom_post_date).format("MMMM DD, YYYY");
// console.log("dateFormatted", dateFormatted);
// } catch(error) {
// console.error(error);
// }
// }

// Alternate for API testing:
if (custom_post_date !== null && custom_post_date !== "") {
try {
dateFormatted = moment(custom_post_date).format("MMMM DD, YYYY");
Expand Down

0 comments on commit 8b47059

Please sign in to comment.