forgejo/modules
ʿAhed ʿid 49fa03bf42 Allow using custom time format (#798)
* Allow using custom time format

I need to use custom time format in `conf/app.ini' like 

    FORMAT = 2006-01-02 15:04:05

so that Gitea will display '2017-01-30 08:41:49'
check this answer for more constants to format date  <http://stackoverflow.com/a/20234207/2570425> 

PS: First GO commit

* Refactor and validate TimeFormat (must have 2006, 01, 02, 15, 04 and 05)
2017-02-04 20:37:50 +08:00
..
auth
avatar
base Cleanup log messaging 2017-02-02 15:24:18 +01:00
context
cron
highlight
httplib
indexer
lfs
log Cleanup log messaging 2017-02-02 15:24:18 +01:00
mailer Cleanup log messaging 2017-02-02 15:24:18 +01:00
markdown
minwinsvc
notification
options
process
public
setting Allow using custom time format (#798) 2017-02-04 20:37:50 +08:00
ssh Cleanup log messaging 2017-02-02 15:24:18 +01:00
sync
templates
user
util