SIGN IN SIGN UP
payloadcms / payload UNCLAIMED

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

0 0 16 TypeScript

fix: incorrect 24 hour format comment example (#15649)

### What?

The code comment for type
`CollectionConfig.versions.drafts.schedulePublish.timeFormat` suggests
using 'hh:mm' for a 24 hour clock format. I changed this comment to
instead suggest 'HH:mm'.

### Why?

The lowercase 'hh' makes a 12 hour format, not the suggested 24 hour
format.

### How?

I replaced the comment to suggest using uppercase 'HH' instead.

```diff
-   * @example 'hh:mm' will give a 24 hour clock
+   * @example 'HH:mm' will give a 24 hour clock
 ```

Co-authored-by: Paul Popus <paul@payloadcms.com>
T
Tim @ erdee committed
f42b7674f19c7adb7beb4ccdb17bdfe4bb50f34b
Parent: 122f4c1
Committed by GitHub <noreply@github.com> on 4/2/2026, 7:04:49 PM