[Tickets #10894] Horde strftime not handling linux %-

bugs at horde.org bugs at horde.org
Tue Jan 3 10:30:33 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10894
------------------------------------------------------------------------------
  Ticket             | 10894
  Created By         | js at cvut.cz
  Summary            | Horde strftime not handling linux %-
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


js at cvut.cz (2012-01-03 10:30) wrote:

Horde strftime in Nls.php (and maybe in other places) don't handle  
time format like %-d.%-m.%Y. It's incomming from czech locale on all  
linux distros and case errors in Kronolith and other places.

This format is not said in RFC, POSIX ... But functions in C and PHP  
is working and accepting this - By default, date pads numeric fields  
with zeroes. GNU date, but not BSD date, recognizes - (hyphen) do not  
pad the field and _ (underscore) pad the field with spaces between %  
and a numeric directive.

Solution for all people is to patch every new version of Horde  
framework, or you can make this functionality to horde functions, will  
be it possible please?

http://bugs.horde.org/ticket/10435
http://bugs.horde.org/ticket/10759
Yes, it is bug...






More information about the bugs mailing list