ui-formatter 0.0.1 → 0.0.2
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/package.json +1 -1
- package/src/index.ts +2 -2
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -98,7 +98,7 @@ export function formatDateTime(date: Date | null | undefined, dateFormat?: strin
|
|
|
98
98
|
}
|
|
99
99
|
return sd + " " + formatTime(date)
|
|
100
100
|
}
|
|
101
|
-
export function formatLongDateTime(date: Date | null | undefined, dateFormat?: string, full?: boolean, upper?: boolean):
|
|
101
|
+
export function formatLongDateTime(date: Date | null | undefined, dateFormat?: string, full?: boolean, upper?: boolean): any {
|
|
102
102
|
if (!date) {
|
|
103
103
|
return et
|
|
104
104
|
}
|
|
@@ -108,7 +108,7 @@ export function formatLongDateTime(date: Date | null | undefined, dateFormat?: s
|
|
|
108
108
|
}
|
|
109
109
|
return sd + " " + formatLongTime(date)
|
|
110
110
|
}
|
|
111
|
-
export function formatFullDateTime(date: Date | null | undefined, dateFormat?: string, s?: string, full?: boolean, upper?: boolean):
|
|
111
|
+
export function formatFullDateTime(date: Date | null | undefined, dateFormat?: string, s?: string, full?: boolean, upper?: boolean): any {
|
|
112
112
|
if (!date) {
|
|
113
113
|
return et
|
|
114
114
|
}
|