Is is possible to change the date format? Sorry do not see that option available.

Comments

fgm’s picture

Hello. Could you be more specific in what you are looking for ? Which date format do you want to change ? On which pages ? Date formatting is normally a core feature, not one handled by the module.

Snehal Brahmbhatt’s picture

You can change date format by adding following line in your settings.php file.

$conf['classified-date-format'] = 'your format of choice';

Let me know if you face any query/concern regarding this.

Thanks,
Snehal Brahmbhatt | AddWeb Solution
https://www.drupal.org/user/3147795/track

fgm’s picture

@snehal.brahmbhatt indeed. More specifically, this variable, which you can also be set by any other means like Strongarm/Features or at devel/variable, controls a subset of date formats on your site. This is described in the Advanced Help on your site, at http://(yoursite)/help/classified/views.

This fomat is used for:

  • the Ad edit form, for the Ad expiration date
  • the Views field handler for the Purge date
  • the expiration date for an Ad, when used on node views and in the CTools content type plugin for Ads

I this answers your question, please set the status to "Fixed" (not Closed).

thronedigital’s picture

Hi sorry.

Do you mean theme-settings.php? Also my date is like 20/07/2015, but i would like it to be 07/20/2015.

Thank you

thronedigital’s picture

NM was able to figure it out. FYI for future normal PHP date formats where not working correctly for me, but was able to make them work with %m/%d/%Y.

Thank you

thronedigital’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.