Skip to content

Commit

Permalink
优化时间格式
Browse files Browse the repository at this point in the history
  • Loading branch information
alex cai committed Nov 5, 2016
1 parent cf88ced commit 3857257
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion log.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ const (

const (
// 写日志时前缀的时间格式
logTimeFormat string = "2006-01-02 15:04:05"
// "2006-01-02T15:04:05Z07:00"
logTimeFormat string = time.RFC3339

// 文件写入mode
fileOpenMode = 0666
Expand Down

0 comments on commit 3857257

Please sign in to comment.