ng-zenduit 2.3.3 → 2.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2022/ng-zenduit.mjs
CHANGED
|
@@ -8061,12 +8061,12 @@ class ZenduTimepickerComponent {
|
|
|
8061
8061
|
const m = this.formatNum(this.value.minutes);
|
|
8062
8062
|
const s = this.formatNum(this.value.seconds);
|
|
8063
8063
|
if (!this.showHours) {
|
|
8064
|
-
return this.showSeconds ? `${m}
|
|
8064
|
+
return this.showSeconds ? `${m}:${s} ${this.value.period || 'AM'}` : `${m} ${this.value.period || 'AM'}`;
|
|
8065
8065
|
}
|
|
8066
8066
|
if (this.showSeconds) {
|
|
8067
|
-
return `${h}
|
|
8067
|
+
return `${h}:${m}:${s} ${this.value.period || 'AM'}`;
|
|
8068
8068
|
}
|
|
8069
|
-
return `${h}
|
|
8069
|
+
return `${h}:${m} ${this.value.period || 'AM'}`;
|
|
8070
8070
|
}
|
|
8071
8071
|
// Duration mode
|
|
8072
8072
|
const parts = [];
|