@siemens/element-ng 48.11.0 → 48.11.1

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.
@@ -2320,8 +2320,8 @@ class SiTimepickerComponent {
2320
2320
  }
2321
2321
  let hours = time.getHours();
2322
2322
  if (this.use12HourClock()) {
2323
- // 12:00 am is midnight while 12:00 pm is noon when users enter a value greater than 12 we can assume it's pm
2324
- this.meridian.set(hours > 12 ? 'pm' : 'am');
2323
+ // 12:00 am is midnight while 12:00 pm is noon; hours >= 12 means PM
2324
+ this.meridian.set(hours >= 12 ? 'pm' : 'am');
2325
2325
  this.meridianChange.emit(this.meridian());
2326
2326
  hours = hours % 12;
2327
2327
  if (hours === 0) {