I concur with Janos's guidance. I had to look up php date/time formatting, 
which can be found here: http://php.net/manual/en/function.date.php. That 
should give you the information you need to modify the Date column format to 
your liking.

-- 
Regards,

Stephen Risinger
Systems Administrator

-----Original Message-----
From: Janos SUTO [mailto:[email protected]] 
Sent: Tuesday, April 21, 2015 2:52 PM
To: Piler User
Subject: Re: Time Column in GUI


On 2015-04-21 21:39, Philip Deubner wrote:
>> On 2015-04-20 23:54, [email protected] wrote:
>>> Is it possible to add a Time column or modify the Date column to
>>> include time to the GUI?
>> 
>> yes, it's possible. Put $config['DATE_TEMPLATE'] = 'Y.m.d';
>> to config-site.php and fix it.
>> 
>> Janos
> 
> I tried to include it into the config-site.php. After restarting the
> webserver, no time column showed up - what am I doing wrong?

tweaking this value doesn't create new column for you. It affects only
the formatting, ie. $config['DATE_TEMPLATE'] = 'd/m/Y H:i:s';
would extend the already existing column, and give you the hour, min, 
sec
besides the date.

Check out the demo site for what to expect.

Janos


Reply via email to