gitroast/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 Update Website binding MaxSize to 255 (#722) 2017-01-25 15:23:20 +08:00
avatar golint fixed for modules/avatar 2016-11-25 16:37:04 +08:00
base Cleanup log messaging 2017-02-02 15:24:18 +01:00
context Remove unneeded database loads (#814) 2017-02-02 20:33:56 +08:00
cron golint fixed for modules/cron 2016-11-25 16:19:24 +08:00
highlight Integrate templates into bindata optionally (#314) 2016-12-06 18:58:31 +01:00
httplib Golint fixed for modules/httplib 2016-11-25 14:32:09 +08:00
indexer Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
lfs refactor: Remove unnecessary type conversions (#772) 2017-01-27 23:03:32 +08:00
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 refactor: Remove unnecessary type conversions (#772) 2017-01-27 23:03:32 +08:00
minwinsvc Fix lint 2017-01-23 20:56:25 -02:00
notification Notification - Step 1 (#523) 2016-12-31 00:44:54 +08:00
options Add default values for settings (#455) 2016-12-23 15:18:05 +08:00
process Refactor process package and introduce ProcessManager{} with tests (#75) 2017-01-17 13:58:58 +08:00
public Allow custom public files (#782) 2017-01-28 23:14:56 +01:00
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 modules/sync: add UniqueQueue 2016-08-30 15:50:30 -07:00
templates refactor: Remove unnecessary type conversions (#772) 2017-01-27 23:03:32 +08:00
user golint fixed for modules/user 2016-11-24 17:37:11 +08:00
util Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00