coer-elements 0.0.71 → 0.0.73
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/components/lib/coer-datebox/coer-datebox.component.d.ts +1 -1
- package/components/lib/coer-grid/coer-grid.extension.d.ts +6 -3
- package/components/lib/coer-modal/coer-modal.component.d.ts +1 -1
- package/components/lib/coer-numberbox/coer-numberbox.component.d.ts +1 -1
- package/components/lib/coer-textarea/coer-textarea.component.d.ts +1 -1
- package/components/lib/coer-textbox/coer-textbox.component.d.ts +1 -1
- package/fesm2022/coer-elements-components.mjs +36 -3
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +5 -0
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/interfaces/lib/coer-grid/grid-column.interface.d.ts +2 -0
- package/package.json +1 -1
- package/tools/lib/date-time.class.d.ts +2 -0
|
@@ -696,6 +696,11 @@ class DateTime {
|
|
|
696
696
|
date = DateTime.GetFormatDB(date);
|
|
697
697
|
return moment(date).parseZone().local(true).format('MMM, DD YYYY');
|
|
698
698
|
}
|
|
699
|
+
/** MMM, DD YYYY at hh:mm a */
|
|
700
|
+
static GetDateTimeFormat(date) {
|
|
701
|
+
date = DateTime.GetFormatDB(date);
|
|
702
|
+
return moment(date).parseZone().local(true).format('MMM, DD YYYY - hh:mm a').replace('-', 'at');
|
|
703
|
+
}
|
|
699
704
|
/** */
|
|
700
705
|
static IsValidDate(date) {
|
|
701
706
|
if (Tools.IsOnlyWhiteSpace(date))
|