This commit is contained in:
parent
8df8c93df1
commit
569d7c8773
1 changed files with 1 additions and 1 deletions
|
|
@ -406,7 +406,7 @@ pub const Parsed = struct {
|
|||
|
||||
pub fn is_fresh(self: Parsed) bool {
|
||||
if (self.expires) |exp|
|
||||
return std.time.timestamp > exp;
|
||||
return std.time.timestamp() < exp;
|
||||
|
||||
// no expiry: always fresh, never frozen
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue