Open extra topbar

If you are new here, please see some information on how to ask for support. Thank you!

date and time of transactions

dashed-slug.net Forums Airdrop extension support date and time of transactions

Tagged: , , ,

This topic contains 15 replies, has 2 voices, and was last updated by  alexg 6 months, 1 week ago.

Viewing 16 post (of 16 total)
  • Author
    Posts
  • #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

Viewing 16 post (of 16 total)

You must be logged in to reply to this topic.