From 76f330fb9cb45916eeab5a44e18084dc074d8f28 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Fri, 5 Aug 2022 06:54:23 +0000 Subject: [PATCH] remove seconds --- package.json | 2 +- src/utils/format.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b6f4d87..40da7e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web", - "version": "0.100.7", + "version": "0.100.8-dev", "private": true, "productName": "Tactical RMM", "scripts": { diff --git a/src/utils/format.js b/src/utils/format.js index 428a113..8a713c0 100644 --- a/src/utils/format.js +++ b/src/utils/format.js @@ -285,7 +285,7 @@ export function formatDateInputField(isoDateString, noTimezone = false) { if (noTimezone) { isoDateString = isoDateString.replace("Z", ""); } - return date.formatDate(isoDateString, "YYYY-MM-DDTHH:mm:ss"); + return date.formatDate(isoDateString, "YYYY-MM-DDTHH:mm"); } // converts a local date string "YYYY-MM-DDTHH:mm:ss" to an iso date string with the local timezone