Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpredictable timezone #6

Closed
szepeviktor opened this issue Mar 31, 2024 · 1 comment
Closed

Unpredictable timezone #6

szepeviktor opened this issue Mar 31, 2024 · 1 comment

Comments

@szepeviktor
Copy link

Using PHP built-in functions will use PHP timezone.
Please consider using WC date functions.

@kristos80
Copy link
Contributor

Hi @szepeviktor and thank you so much for your interest in our custom plugin --which is WIP (and at a very early stage)

I saw the rest of the issues you opened and I really love your enthusiasm!

All of the previous issues actually make some sense (in one way or another), but this specific one really needs to be operated by the PHP date function in order to be relative to the other all other dates used in the context of the plugin.

Since we don't need to be super critical regarding date comparisons, as as I said before everything is relative, date actually makes more sense other than anything else.

Thanks again though

@kristos80 kristos80 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants