Support

Home Forums Community Forum Core plugin not using wordpress timezone settings in filtering

Core plugin not using wordpress timezone settings in filtering

Posted: August 18, 2016 at 1:34 pm

Viewing 2 reply threads


Scratch Digital

August 18, 2016 at 1:34 pm

Hi, I am New Zealand based and am having trouble seeing transactions in the admin area as on page load it filters transactions by date( ‘m/d/Y’ ); which uses a US based timezone, so it is filtering events until the 18/08/2016 but it is the 19/08/2016 here so doesn’t display todays orders until the US changes to the 19th.

I have updated the code in the plugin to fix this but this should be fixed in your core code, also I presume this is else where in the code, where you display a list of items by day range.

the change i made to the code.
EE_Admin_Transactions_List_Table.class.php
line:120
from date( ‘m/d/Y’ );
to date( ‘m/d/Y’, current_time(‘timestamp’) );

Thanks
Jonathan


Josh

  • Support Staff

August 18, 2016 at 2:05 pm

Hi Jonathan,

Thanks for reporting. Can you open a pull request with your suggested change on Github?

https://github.com/eventespresso/event-espresso-core/pulls


Scratch Digital

August 18, 2016 at 2:17 pm

done

Viewing 2 reply threads

The support post ‘Core plugin not using wordpress timezone settings in filtering’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso