![]() |
Customizable number and date formats - Printable Version +- LetoDMS Community Forum (https://community.letodms.com) +-- Forum: Customization (https://community.letodms.com/forumdisplay.php?fid=5) +--- Forum: Addons/Mods (https://community.letodms.com/forumdisplay.php?fid=14) +--- Thread: Customizable number and date formats (/showthread.php?tid=218) |
Customizable number and date formats - calcumat - 01-09-2011 If you want your own number formats and date/time formats, you can change inc/inc.Utils.php file and set own formats here. But - I think better place for formats and customization is in inc/inc.Settings.php, so I write this modification. First, add this new settings to inc/inc.Settings.php: PHP Code: // -------------------------------- User interface settings ----------------------------------- Then apply patch to file inc/inc.Util.php - change first 3 functions to: PHP Code: function formatted_size($size_bytes) { PHP Code: function add_log_line($msg="") Or apply patch: [ATTACHMENT NOT FOUND] |