• Resolved corrideat

    (@corrideat)


    Hello,

    Backslashes are required in date formats to enter characters that otherwise have meaning for the PHP date function. However, the application has a bug related to this:

    Backslashes need to be added twice, and they’re internally converted to single slashes, shown on the next form.

    Consider this process:

    1. Enter date format \\x. It gets stored as \x.
    2. Edit entry, not changing date format. Field is \x, it gets converted to x and stored this way.

    There are two possible fixes:
    A. Fix at 1. so that \\x gets stored as \\x and \x gets stored as \x.
    B. Fix edit form so that \x gets shown as \\x in the form.

    Thanks,

    https://wordpress.org/plugins/google-calendar-events/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Nick Young

    (@nickyoung87)

    Thanks I will look into it. Are you using a date format that uses this? If so what is it so I can use it as a test item.

    Thanks!

    Plugin Contributor Nick Young

    (@nickyoung87)

    I tested this and have added a note to fix this in a future release.

    Thanks for pointing it out to us. I am going to mark this request as resolved for now since it is now on the list of things to fix.

    Plugin Contributor Fulvio Notarstefano

    (@nekojira)

    hello corrideat

    could you please update to the latest version 2.2.6 released today and see if your problem is resolved?

    the latest release should contain a fix to your problem – please let us know if it’s sorted out, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bug: backslashes in date format’ is closed to new replies.