• Resolved adewebdev

    (@adewebdev)


    The ‘WEEKDAY’ function has started to show different results in Chrome than other browsers.
    Calculation is – WEEKDAY(‘TODAY()’, ‘yyyy-mm-dd’) which displays what day of the week it is a number.

    As per the documentation, this has been calculating up to now as:
    Sunday = 1, Monday = 2, Tuesday =3 etc

    Just after updating the plug in it’s now calculating as:
    Monday = 1, Tuesday = 2, Wednesday, = 3 etc

    But only in Chrome! Firefox and Safari are not affected. Has something changed in the plug in to affect this? The ‘Day of the week’ box is used to determine other calculations so this is throwing all the pricing out. My computer is showing the correct date and time. Thanks.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter adewebdev

    (@adewebdev)

    Resolved, just a problem with my own browser caching.

    Plugin Author codepeople

    (@codepeople)

    Hello @adewebdev

    There is an issue in your equation, TODAY is an operation and not a text, so, the equation would be: WEEKDAY(TODAY(), 'yyyy-mm-dd')

    I’ve tested the operation in all browsers, and the result was the same in all of them: 6

    Best regards.

    Thread Starter adewebdev

    (@adewebdev)

    Thanks, I have amended it. The problem is only happening at my end I’ve realised.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WEEKDAY function has started changing depending on browser’ is closed to new replies.