tasks: nicer time format, display more accurate time format on hover
This commit is contained in:
parent
ef252d5cab
commit
b7ebd321d0
@ -62,11 +62,12 @@ func (this *App) Serve_Tasks(w http.ResponseWriter) {
|
|||||||
fmt.Fprintf(w,
|
fmt.Fprintf(w,
|
||||||
`<tr>
|
`<tr>
|
||||||
<td><a href="/task/%s">%s</td>
|
<td><a href="/task/%s">%s</td>
|
||||||
<td>%s</td>
|
<td><span title="%s">%s</span></td>
|
||||||
<td>
|
<td>
|
||||||
`,
|
`,
|
||||||
hesc(ref), hesc(ref),
|
hesc(ref), hesc(ref),
|
||||||
hesc(time.Unix(t.started, 0).Format(time.RFC822Z)),
|
hesc(startTime.Format(time.RFC3339)),
|
||||||
|
hesc(startTime.Format(time.RFC822)),
|
||||||
)
|
)
|
||||||
|
|
||||||
if t.Finished() {
|
if t.Finished() {
|
||||||
|
Loading…
Reference in New Issue
Block a user