1
0
Fork 0
gitea/templates/repo
Yarden Shoham b994b2ea9c
Fix due date rendering the wrong date in issue (#22302)
Previously, the last minute of the chosen date caused bad timezone
rendering.

For example, I chose January 4th, 2023.

### Before
```html
<time data-format="date" datetime="Wed, 04 Jan 2023 23:59:59 +0000">January 5, 2023</time>
```

### After
```html
<time data-format="date" datetime="2023-01-04">January 4, 2023</time>
```

---

Closes #21999

Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
2023-01-02 10:49:05 +08:00
..
branch
cite
diff Change ID pattern of raw content container for issue (#21966) 2022-12-10 00:25:32 +08:00
editor Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
find
graph Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
issue Fix due date rendering the wrong date in issue (#22302) 2023-01-02 10:49:05 +08:00
migrate
projects Optimize html templates (#22080) 2022-12-09 21:34:51 +08:00
pulls Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2022-12-27 15:21:14 -06:00
release Add Feed for Releases and Tags (#21696) 2022-12-21 15:06:26 -06:00
settings Fix delete secret modal (#22187) 2022-12-20 12:18:15 -06:00
wiki
activity.tmpl
blame.tmpl
branch_dropdown.tmpl
clone_buttons.tmpl
clone_script.tmpl
commit_page.tmpl Rename actions to operations on UI (#22067) 2022-12-08 21:14:09 +08:00
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl
commits_list_small.tmpl
commits_table.tmpl
create.tmpl
empty.tmpl
file_info.tmpl
forks.tmpl
graph.tmpl
header.tmpl Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
home.tmpl Rename actions to operations on UI (#22067) 2022-12-08 21:14:09 +08:00
icon.tmpl
packages.tmpl
search.tmpl
shabox_badge.tmpl
sub_menu.tmpl
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl Ensure that plain files are rendered correctly even when containing ambiguous characters (#22017) 2022-12-17 22:22:25 +02:00
view_list.tmpl
watchers.tmpl