Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter luciche

    (@luciche)

    Also the Between weekdays doesn’t work.

    For example I’ve selected to hide the element between Monday and Wednesday, and today is Sunday but the element is showing.

    I’ve attached the snapshot of the debug-mode.

    View post on imgur.com

    In the debug mode it says
    DynamicTag-Value:4 but today is Sunday

    The Between days appear to be correct (Monday and Wednesday)
    Check-Value:1
    Check-Value2:3

    Hope this helps, thanks

    Plugin Author rtowebsites

    (@rtowebsites)

    Hello @luciche

    can you have a look on general-options and say which time-format do you use?
    It′s possible that the plugin cant convert the date-formate to a timestamp to compare.

    Thread Starter luciche

    (@luciche)

    @rtowebsites I use personalized date format l j F and hour format G:i

    I’ve always used this format

    Plugin Author rtowebsites

    (@rtowebsites)

    Hello @luciche

    we have tested with your date format and with different languages. We can′t reproduce this issue, but have an idea what the problem could be.
    The plugin trys to convert the date to a unix-timestamp, so it can compare it with outer timestamp.
    It seems that this convertion fails on your system.

    But you can change the date-format for the dynamic-tag-value, like this:

    View post on imgur.com

    Than it should output the correct value.

    Plugin Author rtowebsites

    (@rtowebsites)

    Hello @luciche

    we just added a debug-release on
    https://github.com/RTO-Websites/dynamic-conditions/releases/tag/debug-release

    This version has the new option “Prevent date-parsing”.
    With this option the plugin will not try to convert the date from the tag to a timestamp.
    Than you can choose “U” as custom format in the tag and it should work.
    Should look like this:

    View post on imgur.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘String to time not working’ is closed to new replies.