• Resolved Jochen Klein

    (@jochenklein)


    The DateTime Picker does not return the selcted date and time.
    If default is empty, echo $attributes[‘control_name’] returns nothing (empty string). If the control has set a default date/time set, echo $attributes[‘control_name’] returns this default always.
    In the backend it seems that the selected date and time is stored (it is displayed correct).

    I have installed latest version 2.2.0
    My wordpress site has the following settings
    language: Deutsch (German)
    Timezone: Berlin (UTC+0100)
    Timeformat: j. F Y

    BR – Jochen Klein

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nikita

    (@nko)

    Hey.

    On my end, Date control is working correctly. Default and changed value displayed with no problems.

    Please, export your block and provide JSON, so I can import it locally and test it. https://lazyblocks.com/documentation/export-blocks/#export-json-from-blocks-list

    Regards, nK.

    Thread Starter Jochen Klein

    (@jochenklein)

    Just created a new block, containing an excerpt of the block I was seeing the DateTimePicker problem, because the current block contains stuff (javscript …). This I wanted to send you to explore the problem.
    But in this block DateTimePicker worked! Then went back to the original and, DateTimePicker also worked there, without having done any changes (as far as I remember).
    Well now it just works.

    Thank you very much for your help, and thank you very much for this realy great plugin!

    BR – Jochen

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[NSFW] DateTime Picker does not return selcted date and time’ is closed to new replies.