#267 closed defect (fixed)
FormatDate()
Reported by: | Javier Gallardo | Owned by: | danirus |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Text | Version: | head |
Severity: | critical | Keywords: | |
Cc: |
Description
The mask "%c%Y/%m/%d%u %h:%i:%s" does not work correctly.
Before:
Text t = FormatDate(y2000, "%c%Y/%m/%d%u %h:%i:%s");
--> t = "2000/01/01";
Now:
Text t = FormatDate(y2000, "%c%Y/%m/%d%u %h:%i:%s");
--> t = "2000/01/01 00:00:00.00";
The part '%u' means 'uncompleted', then if '%h:%i:%s' = '00:00:00.00' it does not
have to show nothing.
Change History (2)
comment:1 Changed 20 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000267 |
---|
Note: See
TracTickets for help on using
tickets.
This bug is fully related with bug 259.
When I worked in this last one, two weeks ago, I was waiting for somebody who
could tell me something about the new behavior. Now I have your impressions.
It just has been resolved, and a new Date to Text conversion routine has been
commited.