Any Substitutes for wxTimeCtrl?

achrist@easystreet.com writes:

It look to be very nice improvement, with just one trouble noted
so far.

My first use to display one, uninitialized, resulted in a display
of "12:00 am". Of course, there is no such time, and it is
confusing to user to show such. The 12:00 times should be "noon"
and "midnight", or maybe "noon" and "mid."

see:

http://www.bpl.org/research/generalref/faqs.htm#am

http://www.coolquiz.com/trivia/explain/docs/time.asp

How do other GUI tools and widgets resolve this?

I'm sorry, but I simply don't accept either the premise that
"there is no such time", or the premise that it is "confusing to
show the user such." wxDateTime, mxDateTime, and every other control
I've ever used all will format midnight as 12:00 AM, and noon
as 12:00 PM. Even the windows time control in the system tray does so.

I further think that this is commonly understood by the world at large,
and is not confusing at all. If you *are* confused by it, or
don't wish to expose this "flaw" to your users, you can use the
fmt24hr flag to the control and display 24-hour or "military" time.
(See demo.)

/Will Sadkin
Parlance Corporation
www.nameconnector.com