Date Format in AWPCP

These Adverts help to pay for this site. ai2

The date format in the WP Plugin AWPCP Classifieds Management System is the American date format m/d/y.

These Adverts help to pay for this site ai6.

To change to the UK format of d/m/y you need to locate the following code, in the file named: awpcp.php and change it to the replacement code.

Original code:

New code:

This is a temporary fix, and would probably need changing everytime the plugin is upgraded, as any upgrades will renew the awpcp.php file.

Note that I have changed the month letter from a small ‘m’ to a capital ‘M’, this is to avoid the following confusion:

Agoda HolidaysAgoda HolidaysThese Adverts help to pay for this site. ai5

Using “d/m/Y” would show 5/6/2010
That could be taken as saying the 5th of the 6th month, or the 6th of the 5th month.

Using “d/M/Y” it would show as 5/Jun/2010

An easy fix that may as well be done.

149.1 - 585,567
Scroll down for Comments
0 0 votes
Article Rating
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments