The goal is to modify the time format from this format: “10:45 am” to “10:45:30 am” from the auction bid history tab (using the iBid theme + WooCommerce simple auctions).

ibid-auction-history-tab

The date format from the bid history tab is taken straight from Settings -> General -> Date & Time Format. In order to add seconds next to hours and minutes of each bid, please do the following steps:

1. Open your Settings -> General (from your WP admin dashboard)

2. Copy this time format “h:i:s a” in your Time Format custom format field:

ibid-date-format

3. Save the settings and check the auction page -> history tab to see the changes.

Note: Learn more about PHP Date and Time, on w3schools.

Was this post helpful?

Tags: ,