We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b956c1f commit 8728b88Copy full SHA for 8728b88
ui/src/components/WebEndpoints/WebEndpointList.vue
@@ -123,10 +123,10 @@ const isExpired = (date: string) => date !== "0001-01-01T00:00:00Z" && moment().
123
const formatDate = (expiresIn: string) => {
124
if (expiresIn === "0001-01-01T00:00:00Z") return "Never Expires";
125
const expirationDate = moment(expiresIn);
126
- const format = "MMM D YYYY, h:mm:ss";
+ const format = "MMM D YYYY, h:mm:ss a";
127
return isExpired(expiresIn)
128
- ? `Expired on ${expirationDate.format(format)}.`
129
- : `Expires on ${expirationDate.format(format)}.`;
+ ? `Expired on ${expirationDate.format(format)}`
+ : `Expires on ${expirationDate.format(format)}`;
130
};
131
132
const handleClick = () => {
0 commit comments