Reading times using KLocale::readTime()
lemma at confuego.org
Fri Jul 17 11:20:06 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Michael Leupold wrote:
> Now I'm trying to perform a proper fixup() including adding seconds to a
> time in locale format that has been entered without (eg. user enteres
> 17:30 and fixup() produces 17:30:30). My main problem is that I'd like to
> use KLocale::readTime() but it doesn't read as much as I'd like it to, eg.
> for 12h time it will read "5:30 pm" but not "5:30pm".
It just appeared to me that another issue is that while formatTime() can
strip am/pm, readTime isn't able to read without it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the kde-core-devel