Chris Lamb wrote:

> Patch attached.

Non-empty patch now attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] 🍥 chris-lamb.co.uk
       `-
diff --git argparse_manpage/compat.py argparse_manpage/compat.py
index 7567b7e..752f3d3 100644
--- argparse_manpage/compat.py
+++ argparse_manpage/compat.py
@@ -63,6 +63,6 @@ def get_reproducible_date():
     Return current datetime string, but respect SOURCE_DATE_EPOCH environment
     variable if specified.
     """
-    return datetime.datetime.fromtimestamp(
+    return datetime.datetime.utcfromtimestamp(
         int(os.environ.get('SOURCE_DATE_EPOCH', time.time())),
         *_TZ_ARGS).strftime('%Y-%m-%d')

Reply via email to