diff options
Diffstat (limited to 'web/atom-feed/default.nix')
-rw-r--r-- | web/atom-feed/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/web/atom-feed/default.nix b/web/atom-feed/default.nix index 1fbcde9bd4ff..fca69e20fad9 100644 --- a/web/atom-feed/default.nix +++ b/web/atom-feed/default.nix @@ -90,7 +90,7 @@ let # Feed generation functions: - renderEpoch = epoch: removeSuffix "\n" (readFile (runCommandNoCC "date-${toString epoch}" {} '' + renderEpoch = epoch: removeSuffix "\n" (readFile (runCommandNoCC "date-${toString epoch}" { } '' date --date='@${toString epoch}' --utc --iso-8601='seconds' > $out '')); @@ -147,6 +147,7 @@ let ${concatStrings (map renderEntry (sortEntries f.entries))} </feed> ''); -in { +in +{ inherit entry feed renderFeed renderEpoch; } |