diff --git a/bin/read_timestamp b/bin/read_timestamp index 54b178e..d9b7320 100755 --- a/bin/read_timestamp +++ b/bin/read_timestamp @@ -1,5 +1,4 @@ -#!/usr/bin/env python -import sys -from email.Utils import formatdate +#!/bin/bash +set -euo pipefail -print formatdate(float(sys.argv[1])) +exec date -d @$1