Changing date format

Help
2012-01-26
2013-04-22
  • Paul Trendell
    Paul Trendell
    2012-01-26

    Anyone any idea how to change the date format of the links in field "Added:" from yyyy-mm-dd to dd-mm-yyyy ?
    I can see
    # date format
    $date = date("D jS M Y H:i");
    in config.php3 but changing this does not work.
    I can see the database holds the date in the above format but do not want (or have the skill) to change the database.
    Many thanks for any help
    Paul

     
  • Ludovic Drolez
    Ludovic Drolez
    2012-03-09

    Hi !

    I think that you have to change the locale of your database, so that a
    'select' of the data will return the date in the right format.

    BR,

       Ludovic