|
b868d30434
|
spdx (#581)
Co-authored-by: techknowlogick <hello@techknowlogick.com>
Co-committed-by: techknowlogick <hello@techknowlogick.com>
|
2023-09-08 01:40:02 +00:00 |
|
|
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 |
|
|
a91168fd36
|
Improved list output (#281)
remove unused debug var
move outputList into a struct
so we can add additional functionality for all list output
rename list output to table.go
make table sortable
sort milestones
sort milestones descending
remove unnecessary if
Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/281
Reviewed-by: khmarbaise <khmarbaise@noreply.gitea.io>
Reviewed-by: 6543 <6543@obermui.de>
Co-Authored-By: Norwin <noerw@noreply.gitea.io>
Co-Committed-By: Norwin <noerw@noreply.gitea.io>
|
2020-12-10 06:04:36 +08:00 |
|
|
5cb3e1ded5
|
Refactor: Move list print functions into print package (#273)
MV list issues -> print.IssuesList
MV list labels -> print.LabelsList & task.LabelsExport
MV list logins -> print.LoginsList
MV list miles -> print.MilestonesList
MV list pulls -> print.PullsList
MV list releases -> print.ReleasesList
MV list issues&pulls of mile -> print.IssuesPullsList
MV list notification threads -> print.NotificationsList
Unexport print.outputList
Unexport print.outputMarkdown
remove comd/flags dependency in print module
Reviewed-on: https://gitea.com/gitea/tea/pulls/273
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
|
2020-12-08 18:28:54 +08:00 |
|