- Status Closed
- Percent Complete
- Task Type Bugs
- Category User Interface → Themes
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#7007 - Space padding of %ce tag
The tag %ce is space padded now which didn’t use to be. This padding does not make much sense as for example
%cb %ce
may cause double space, e.g.
Apr 9
The example in the wiki documentation is also incorrect, the given code produces
Sun, Jan 01, 04:10:42
Closed by petur
2007-04-11 21:36
Reason for closing: Not a Bug
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2007-04-11 21:36
Reason for closing: Not a Bug
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
by design
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
OK, seems the two spaces in the example were removed after adding the bug report. Suppose that period (.) is the space. Then the displayed date is
Apr..9
I corrected the wiki, but what’s the problem with the space padding ? It used to be before so what you say isn’t correct.
You say it could cause double space, but that’s precisely the point of blank padding, so I don’t see where there’s a bug.
Ah, you are right, I hadn’t noticed this behaviour before.
Anyway, I don’t understand the purpose of the padding. Tags like %cl and %ck don’t have this padding, why %ce has? How can I get
month space day-of-month-without-leading-zero
which always contains only one space? As I said, it is not possible with %cb %ce.
the code of the parser has the following:
WPS_TOKEN_RTC_DAY_OF_MONTH, “cd”,
WPS_TOKEN_RTC_DAY_OF_MONTH_BLANK_PADDED, “ce”,
so it seems to me %ce = %cd + padding
I’ll close this report, feel free to request it re-opened if you feel my understanding isn’t correct