dce-reactkit 3.3.5 → 3.3.6

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/dist/cjs/index.js CHANGED
@@ -5662,7 +5662,10 @@ const getLocalTimeInfo = (dateOrTimestamp) => {
5662
5662
  const day = d.getDate();
5663
5663
  const hour = d.getHours();
5664
5664
  const isPM = hour >= 12;
5665
- const hour12 = hour % 12;
5665
+ let hour12 = hour % 12;
5666
+ if (hour12 === 0) {
5667
+ hour12 = 12;
5668
+ }
5666
5669
  const minute = d.getMinutes();
5667
5670
  // Return
5668
5671
  return {