The format_date function does not handle custom date formats which have backslash escaped characters, it leaves the backslash and expands the next character.

CommentFileSizeAuthor
#5 common.inc_2.diff1.09 KBdrumm
#4 common.inc_1.diff539 bytesdrumm
#1 common.inc_0.diff539 bytesdrumm

Comments

drumm’s picture

Assigned: Unassigned » drumm
StatusFileSize
new539 bytes

The specific case I need this for is a W3C DTF, which has a 'T' in it which would be convenient to put in without having it changed to the three letter timezone code.

drumm’s picture

(made agaist head, also applies to 4.5)

dries’s picture

Mind to add a code comment? Pecularities like this ought to be documented. Thanks.

drumm’s picture

StatusFileSize
new539 bytes

Now with more comments.

drumm’s picture

StatusFileSize
new1.09 KB

Now with the correct file attached.

dries’s picture

Committed to HEAD.

Anonymous’s picture