• Resolved visualsoftspace

    (@visualsoftspace)


    Hello – I purchased your plugin a couple of weeks ago and it works really great outside of one issue.

    When I set a condition to display a label on a specific day of the week, the plugin seems to be getting the day of the week from the UTC date and NOT the local date.

    As a result if a label is supposed to display on Thursday, it will only display until 5:00pm PST, because at 5:00pm PST the system will start showing the label scheduled for Friday.

    My wordpress local timezone is set America/Los Angeles and all other plugins that use or display the time show the localtime, it is only this plugin that keeps using UTC time.

    Please let me know if there is something I can add to the functions file or otherwise that will resolve the issue.

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

    (@mihail-barinov)

    Hello,

    Please try the following – open advanced-woo-labels/includes/class-awl-conditions.php file and replace all functions

    date()

    with

    date_i18n()

    I will also include this changes to the next plugin release.

    Regards

    Thread Starter visualsoftspace

    (@visualsoftspace)

    Thank you for the quick response! I made the changes you suggested and it immediately resolved my issue. I’m so glad I purchased this plugin, it works great for what I need and the support response is excellent. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin NOT using localtime’ is closed to new replies.