@trudb/tru-common-lib 0.1.882 → 0.1.883
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.
|
@@ -10653,6 +10653,8 @@ class TruFormatter {
|
|
|
10653
10653
|
};
|
|
10654
10654
|
datetimeShort = (cfg) => {
|
|
10655
10655
|
var v = cfg.$;
|
|
10656
|
+
if (!v)
|
|
10657
|
+
return 'MM/dd/yyyy hh:mm a';
|
|
10656
10658
|
return this.formatDate(v, 'MM/dd/yyyy hh:mm a');
|
|
10657
10659
|
};
|
|
10658
10660
|
datetimespanShort = (cfg) => {
|