update dependencies

also make sure the module that enables /dev/null path of the sh
interpreter is enabled
This commit is contained in:
Andrey Nering
2017-10-15 17:41:15 -02:00
parent 2fc32414f5
commit 0513a21e25
36 changed files with 894 additions and 245 deletions

View File

@@ -69,3 +69,8 @@ func dateAgo(date interface{}) string {
duration := time.Since(t) / time.Second * time.Second
return duration.String()
}
func toDate(fmt, str string) time.Time {
t, _ := time.ParseInLocation(fmt, str, time.Local)
return t
}