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/modules/timeutil
Gusted 145e11bc39
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
2 years ago
..
executable.go format with gofumpt (#18184) 3 years ago
language.go format with gofumpt (#18184) 3 years ago
since.go Remove useless JS operation for relative time tooltips (#20756) 3 years ago
since_test.go Share HTML template renderers and create a watcher framework (#20218) 3 years ago
timestamp.go Check for zero time instant in TimeStamp.IsZero() (#22171) (#22172) 2 years ago