@imposium-hub/components 1.33.3 → 1.33.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/Util.ts CHANGED
@@ -250,7 +250,7 @@ export const formatDateDefault = (unix : number) => {
250
250
  let hr = date.getHours();
251
251
  const meridian = hr >= 12 ? 'PM' : 'AM';
252
252
  if (hr > 12) { hr = hr - 12; }
253
-
253
+ if (hr === 0) { hr = 12; }
254
254
  let min : any = date.getMinutes();
255
255
  if (min < 10) {
256
256
  min = `0${min}`;