You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/web_src/js/components
Yarden Shoham cdc33b29a0
Add global setting how timestamps should be rendered (#28657)
- Resolves https://github.com/go-gitea/gitea/issues/22493
- Related to https://github.com/go-gitea/gitea/issues/4520

Some admins prefer all timestamps to display the full date instead of
relative time. They can do that now by setting

```ini
[ui]
PREFERRED_TIMESTAMP_TENSE = absolute
```

This setting is set to `mixed` by default, allowing dates to render as
"5 hours ago". Here are some screenshots of the UI with this setting set
to `absolute`:

![image](https://github.com/go-gitea/gitea/assets/20454870/f496457f-6afa-44be-a1e7-249ee5fe0706)

![image](https://github.com/go-gitea/gitea/assets/20454870/c03b14f5-063d-4e13-9780-76ab002d76a9)

![image](https://github.com/go-gitea/gitea/assets/20454870/f4b34e28-1546-4374-9199-c43348844edd)

---------

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: delvh <dev.lh@web.de>
1 year ago
..
.eslintrc.yaml Add `eslint-plugin-vue-scoped-css` (#26720) 1 year ago
ActionRunStatus.vue Reorder blocks in vue SFCs (#26874) 1 year ago
ActivityHeatmap.vue Reorder blocks in vue SFCs (#26874) 1 year ago
ContextPopup.vue Reorder blocks in vue SFCs (#26874) 1 year ago
DashboardRepoList.vue Update JS dependencies (#27922) 1 year ago
DiffCommitSelector.vue Add global setting how timestamps should be rendered (#28657) 1 year ago
DiffFileList.vue Fix review UI (#27322) 1 year ago
DiffFileTree.vue Improve diff tree spacing (#27714) 1 year ago
DiffFileTreeItem.vue Add border to file tree 'sub-items' and add padding to 'item-file' (#27593) 1 year ago
PullRequestMergeForm.vue Improve pull request command line instructions (#27778) 1 year ago
RepoActionView.vue Add missed return to actions view fetch (#27289) 1 year ago
RepoActivityTopAuthors.vue Reorder blocks in vue SFCs (#26874) 1 year ago
RepoBranchTagSelector.vue Use fetch helpers instead of fetch (#27026) 1 year ago
ScopedAccessTokenSelector.vue Reorder blocks in vue SFCs (#26874) 1 year ago