Menu

#5 Change Date Format

v1.0 (example)
open
None
7
2013-10-07
2013-10-05
Bluekid79
No

Hi guys, can i modify date format? in the file list there is yy/mm/dd time,
i need dd/mm/yy
I do not understand which file I have to change!
Thanks in advance!

Discussion

  • Grzegorz Żydek

    Grzegorz Żydek - 2013-10-05

    Hi,

    In php/files.php find
    $file['date'] = date('Y-m-d H:i:s', filemtime($filepath));
    and replace with
    $file['date'] = date('d-m-Y H:i:s', filemtime($filepath));

    Cheers, Grzesiek

     
  • Bluekid79

    Bluekid79 - 2013-10-07

    Thanks a lot for you support Grzesiek :)

    Just last question, i need to make a front-office page that showing the uploaded files.
    So i editing this script:


    file attached


    this works, but there is a PGRfilemanager official method?
    I need to order files for data and link to href, how i can with this script?
    Maybe you could help me,
    i thank you so much

    Bluekid

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.