1
0
mirror of https://gitea.com/gitea/tea.git synced 2024-11-03 04:27:21 -05:00
tea/modules/print
Norwin 9ab36c55fa Return RFC3339 UTC timestamps for machine-readable output (#470)
### ⚠️ breaking changes ⚠️

- unset timestamps will not be printed as `"0001-01-01 00:00"`, but as empty value `""`
- output formats `csv`, `tsv`, `yaml` output timestamps in UTC instead of local time, and adhere to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)

Co-authored-by: Norwin <git@nroo.de>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/470
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Norwin <noerw@noreply.gitea.io>
Co-committed-by: Norwin <noerw@noreply.gitea.io>
2022-03-29 06:37:13 +08:00
..
comment.go Return RFC3339 UTC timestamps for machine-readable output (#470) 2022-03-29 06:37:13 +08:00
formatters.go Return RFC3339 UTC timestamps for machine-readable output (#470) 2022-03-29 06:37:13 +08:00
issue.go Return RFC3339 UTC timestamps for machine-readable output (#470) 2022-03-29 06:37:13 +08:00
label.go
login.go Detect markdown line width, resolve relative URLs (#332) 2021-03-12 20:28:46 +08:00
markdown.go Detect markdown line width, resolve relative URLs (#332) 2021-03-12 20:28:46 +08:00
milestone.go Return RFC3339 UTC timestamps for machine-readable output (#470) 2022-03-29 06:37:13 +08:00
notification.go Implement notification subcommands (#389) 2021-09-06 01:11:17 +08:00
organization.go Add tea org create <name> (#420) 2021-09-29 04:32:16 +08:00
pull.go Return RFC3339 UTC timestamps for machine-readable output (#470) 2022-03-29 06:37:13 +08:00
release.go Return RFC3339 UTC timestamps for machine-readable output (#470) 2022-03-29 06:37:13 +08:00
repo.go Return RFC3339 UTC timestamps for machine-readable output (#470) 2022-03-29 06:37:13 +08:00
table.go Add TSV to machine-readable formats (#467) 2022-03-13 12:00:21 +08:00
times.go Return RFC3339 UTC timestamps for machine-readable output (#470) 2022-03-29 06:37:13 +08:00
user.go Add tea whoami command (#426) 2021-10-05 01:41:59 +08:00