Use time element

This commit is contained in:
2021-11-23 21:57:43 +09:00
parent 74d8f46b08
commit ad3ac4d880
22 changed files with 54 additions and 50 deletions

View File

@ -11,7 +11,8 @@ component ClientErrors(reports []*arn.ClientErrorReport)
td
each line in strings.Split(report.Stack, "\n")
p= line
td.utc-date(data-date=report.Created)
td
time.utc-date(datetime=report.Created)
td.edit-log-user
if report.CreatedBy != ""
Avatar(report.Creator())

View File

@ -12,7 +12,8 @@ component Crashes(crashes []*arn.Crash)
td
each line in strings.Split(crash.Stack, "\n")
p= line
td.utc-date(data-date=crash.Created)
td
time.utc-date(datetime=crash.Created)
td.edit-log-user
if crash.CreatedBy != ""
Avatar(crash.Creator())

View File

@ -17,4 +17,5 @@ component GlobalPaymentHistory(payments []*arn.PayPalPayment)
a(href=payment.User().Link())= payment.User().Nick
td.history-price= payment.Amount
td.history-price= payment.Currency
td.history-date.utc-date(data-date=payment.Created)
td.history-date
time.utc-date(datetime=payment.Created)