dashed-slug.net › Forums › Airdrop extension support › date and time of transactions › Reply To: date and time of transactions
January 4, 2019 at 10:24 am
#5487
alexg
Keymaster
Thank you.
You are correct that now()
is a better alternative.
current_time()
returns the time only (not date) and it seems that in some versions of MySQL, the date is assumed to be today but in others it might not, hence the issue you experienced.
In any case, I have modified the code to use the WordPress locale-aware date/time as is done with other transactions. This will be out in the next release of the Airdrop extension.
Thank you for your feedback.
with regards