Item12156: JSCalendarContrib: date returned broken for dateformat="DONEm%d"

pencil
Priority: Normal
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: JSCalendarContrib
Branches:
Reported By: FlorianSchlichting
Waiting For:
Last Change By: GeorgeClark
The date returned by the JS date chooser is broken for a dateformat like %Y%m%d. Instead of returning "20121016", the string "<img src=" is inserted.

This does also occur with %Y%m or %Y%d, but not "%y%m" or any pattern that includes a separator, such as a dash or a space, or any regular character, directly after %Y.

-- FlorianSchlichting - 16 Oct 2012

I just had to edit my bug report because of all those nice DONE created by %Y%... perhaps that's the same effect that's breaking the date selector?

-- FlorianSchlichting - 16 Oct 2012

It will work when you use as format:
%<nop>Y%<nop>m%<nop>d

-- ArthurClemens - 16 Oct 2012

NACK

when I set
dateformat="%<nop>Y%<nop>m%<nop>d"

and choose a date, the text that gets inserted into the field is

%<nop>Y%<nop>m%<nop>d

that is, no replacement of date values taking place

-- FlorianSchlichting - 17 Oct 2012
 
Topic revision: r4 - 25 Sep 2016, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy