summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorGusted <postmaster@gusted.xyz>2022-12-20 03:04:46 +0100
committerGitHub <noreply@github.com>2022-12-20 10:04:46 +0800
commit145e11bc397ef034cde45520eea96dd17a378434 (patch)
tree9a814a264487bbb2e70de7f9ae831aedd56e5c3e /.drone.yml
parent72524adf3fd8f8ff616c9ca60ae8215991ef8f2a (diff)
downloadgitea-145e11bc397ef034cde45520eea96dd17a378434.tar.gz
gitea-145e11bc397ef034cde45520eea96dd17a378434.zip
Check for zero time instant in TimeStamp.IsZero() (#22171) (#22172)
- Backport of #22171 - Currently, the 'IsZero' function for 'TimeStamp' just checks if the unix time is zero, which is not the behavior of 'Time.IsZero()', but Gitea is using this method in accordance with the behavior of 'Time.IsZero()'. - Adds a new condition to check for the zero time instant. - Fixes a bug where non-expiring GPG keys where shown as they expired on Jan 01, 0001. - Related https://codeberg.org/Codeberg/Community/issues/791
Diffstat (limited to '.drone.yml')
0 files changed, 0 insertions, 0 deletions