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 f51a19c537
Check for zero time instant in TimeStamp.IsZero() (#22171) (#22173)
- 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 legacy unmaintained packages, refactor to support change default locale (#19308) 3 years ago
since_test.go Remove legacy unmaintained packages, refactor to support change default locale (#19308) 3 years ago
timestamp.go Check for zero time instant in TimeStamp.IsZero() (#22171) (#22173) 2 years ago