Remove the seconds from the datetime/time format
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / js / WoltLabSuite / Core / Date / Util.js
index ebd7620fed6c4c57b162b80cadbcc8726bc69dbb..2fd77f69807da83624e2bff7298b739c0ae0cafd 100644 (file)
@@ -15,7 +15,6 @@ define(["require", "exports", "tslib", "../Language"], function (require, export
     const timeFormatter = new Intl.DateTimeFormat(locale, {
         hour: "numeric",
         minute: "numeric",
-        second: "numeric",
     });
     const dateTimeFormatter = new Intl.DateTimeFormat(locale, {
         year: "numeric",
@@ -23,7 +22,6 @@ define(["require", "exports", "tslib", "../Language"], function (require, export
         month: "long",
         hour: "numeric",
         minute: "numeric",
-        second: "numeric",
     });
     /**
      * Returns the formatted date.