@annalib/anna-core 7.0.3 → 7.1.0
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/esm2020/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +5 -5
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +2 -2
- package/fesm2015/annalib-anna-core.mjs +5 -5
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +5 -5
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -381,15 +381,15 @@ class AnnaDateTimeFormatService {
|
|
|
381
381
|
static formatTwentyFourHourTimeToHHMMAFormat(value, date) {
|
|
382
382
|
value = dayjs(date ? date : '01/01/2000 ' + value).format("MM/DD/YYYY HH:mm:ss");
|
|
383
383
|
return value[14] == "0" && value[15] == "0"
|
|
384
|
-
? dayjs(value, ["HH:mm:ss"]).format("hA").slice(0, -1)
|
|
385
|
-
: dayjs(value, ["HH:mm:ss"]).format("h:mmA").slice(0, -1);
|
|
384
|
+
? dayjs(value, ["MM/DD/YYYY HH:mm:ss"]).format("hA").slice(0, -1)
|
|
385
|
+
: dayjs(value, ["MM/DD/YYYY HH:mm:ss"]).format("h:mmA").slice(0, -1);
|
|
386
386
|
}
|
|
387
387
|
static formatTwelveHourTimeToHHMMAFormat(timeValue, date) {
|
|
388
388
|
timeValue = dayjs(date ? date : '01/01/2000 ' + timeValue).format("MM/DD/YYYY HH:mm:ss");
|
|
389
389
|
// check if min==00
|
|
390
390
|
return timeValue[14] == "0" && timeValue[15] == "0"
|
|
391
|
-
? dayjs(timeValue, ["HH:mm:ss"]).format("hA").slice(0, -1)
|
|
392
|
-
: dayjs(timeValue, ["HH:mm:ss"]).format("h:mmA").slice(0, -1);
|
|
391
|
+
? dayjs(timeValue, ["MM/DD/YYYY HH:mm:ss"]).format("hA").slice(0, -1)
|
|
392
|
+
: dayjs(timeValue, ["MM/DD/YYYY HH:mm:ss"]).format("h:mmA").slice(0, -1);
|
|
393
393
|
}
|
|
394
394
|
formatDateAndHHMMATimeToStandardFormat(dateAndTime) {
|
|
395
395
|
let standardFormat, date, time;
|
|
@@ -1910,7 +1910,7 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
1910
1910
|
this.tooltipRadioTextMap.set("bookedEffectiveCppValue", "Effective CPP");
|
|
1911
1911
|
this.tooltipRadioTextMap.set("bookedCpmValue", "Booked CPM");
|
|
1912
1912
|
this.tooltipRadioTextMap.set("bookedEffectiveCpmValue", "Effective CPM");
|
|
1913
|
-
this.tooltipRadioTextMap.set("orderSource", "Order
|
|
1913
|
+
this.tooltipRadioTextMap.set("orderSource", "Order Route");
|
|
1914
1914
|
this.tooltipRadioTextMap.set("orderCategory", "Rev Category");
|
|
1915
1915
|
this.tooltipRadioTextMap.set("cashOrTrade", "C/T");
|
|
1916
1916
|
this.tooltipRadioTextMap.set("revisionStartDate", "Revision Start Date");
|