 Yarden ShohamandGitHub
|
c4f7c96903
|
Run make fmt (#21437)
The only change is what `make fmt` did, I am merely a vessel for its
glorious function
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
|
2022-10-13 21:33:54 -04:00 |
|
Yarden Shoham
|
cda2c38f4a
|
[skip ci] Updated translations via Crowdin
|
2022-10-13 00:21:26 +00:00 |
|
 
|
6a6dc97b0f
|
Respect user's locale when rendering the date range in the repo activity page (#21410)
# Description
Previously, to make the date range understood by all, we used the format
"2006-01-02" for the dates as it's locale-generic.
This commit changes the rendering logic. Instead of rendering the date
on the server, we send a formatted computer-readable timestamp. The
client's javascript then renders it according to the user's locale.
This approach is reusable across the codebase, any `<time></time>` tag
with the data-format="date" attribute would get rendered according to
the user's chosen locale.
## Previous View

## New View
### English

### French

### Portuguese

### Italian

# References
* #21380
* #21387
* #21396
Inspiration:
I think either differentiating by class, or probably better by a custom
attribute such as `data-format` or similar, is the best course of
action.
_Originally posted by @delvh in
https://github.com/go-gitea/gitea/issues/21396#issuecomment-1274424788_
Resolves #21380
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
|
2022-10-13 00:14:14 +03:00 |
|
 
|
b474730cf6
|
Refactor Gitpod configuration to improve quick spin up of automated dev environments (#21411)
This commit instructs Gitpod to run `docs` in watch mode in fresh
development environments so any dev could start hacking in seconds.
Also included some vscode extensions for Vue, Go, and Docker.
Try it here:
[](https://gitpod.io/#https://github.com/yardenshoham/gitea/tree/gitpod)
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
|
2022-10-12 12:17:04 -04:00 |
|
 Yarden ShohamandGitHub
|
b5a54f03a2
|
Fix broken link to frontend guidelines in hacking guidelines (#21382)
|
2022-10-11 21:23:21 -04:00 |
|
 Yarden ShohamandGitHub
|
9b7675d0cf
|
Remove cancel button in repo creation page (#21381)
|
2022-10-11 22:47:35 +08:00 |
|
 Yarden ShohamandGitHub
|
2d4c6321c3
|
Use ISO date format instead of hard-coded English date format for date range in repo activity page (#21396)
January 2, 2006 -> 2006-01-02
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
|
2022-10-11 18:48:17 +08:00 |
|
 Yarden ShohamandGitHub
|
083ac164dc
|
Fix missing left and right carets in TRANSLATORS (#21397)
|
2022-10-10 10:36:37 -04:00 |
|
 Yarden ShohamandGitHub
|
97f3f1988b
|
Fix typos in PullRequestMergeForm.vue header comment (#21378)
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
|
2022-10-09 15:17:01 +08:00 |
|