On Tue, 20 Jun 2006, Rick Measham wrote: > Mike Schilli wrote: > > Maybe "%H matched a 24-hour value in the AM range, which conflicts > > with the %p value found (PM). Use %I for 12-hour values." would be > > easier to understand for the impatient reader :). > > Sure .. I can do that .. though it won't specify %H .. more like: The > hour value is in 24-hour time, however the value specified (1) does not > match the am/pm value (pm)
Hmm, it's more expressive than the previous one, but I'd say that using %I instead of %H is not obvious (even for me, and I've been using your module for a while now), so I think the error message could benefit from having a hint to %I included. -- Mike Mike Schilli [EMAIL PROTECTED]