From 3ef9679de3dabbedab1baa393b0f1e77ea61e283 Mon Sep 17 00:00:00 2001 From: nixocio Date: Tue, 24 May 2022 14:50:00 -0400 Subject: [PATCH] Allow to copy entity within the minute Allow to copy entity within the minute - add seconds, and miliseconds as part of the name of copied entity. See: https://github.com/ansible/awx/issues/12279 --- awx/ui/src/util/dates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/src/util/dates.js b/awx/ui/src/util/dates.js index 552ebc95d9..ac88d4a34a 100644 --- a/awx/ui/src/util/dates.js +++ b/awx/ui/src/util/dates.js @@ -27,7 +27,7 @@ export function secondsToDays(seconds) { export function timeOfDay() { const dateTime = DateTime.local(); - return dateTime.toFormat('hh:mm a'); + return dateTime.toFormat('hh:mm:ss:ms a'); } export function dateToInputDateTime(dt, tz = null) {