Skip to content

Commit

Permalink
Update MMMM Do yyyy to MMMM do yyyy per date-fns format docs (#11142) (
Browse files Browse the repository at this point in the history
…#11154)

* Update MMMM Do yyyy to MMMM do yyyy per date-fns format docs

* Add changelog
  • Loading branch information
chelshaw authored Mar 19, 2021
1 parent f607096 commit 8c16c80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog/11142.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```changelog:bug
ui: Fix date display on expired token notice
```
2 changes: 1 addition & 1 deletion ui/app/templates/components/token-expire-warning.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<AlertBanner
@type="danger"
@message="Your auth token expired on
{{date-format expirationDate "MMMM Do yyyy, h:mm:ss a"}}
{{date-format expirationDate "MMMM do yyyy, h:mm:ss a"}}
. You will need to re-authenticate."
>
<LinkTo @route="vault.cluster.logout" class="button link">
Expand Down

0 comments on commit 8c16c80

Please sign in to comment.