aboutsummaryrefslogtreecommitdiff
path: root/buildbot-utils.el
diff options
context:
space:
mode:
Diffstat (limited to 'buildbot-utils.el')
-rw-r--r--buildbot-utils.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildbot-utils.el b/buildbot-utils.el
index ebac706..269cdf3 100644
--- a/buildbot-utils.el
+++ b/buildbot-utils.el
@@ -47,4 +47,8 @@
attr)
"&"))
+(defun buildbot-format-epoch-time (epoch)
+ (format-time-string "%Y-%m-%d %a %H:%M:%S %Z" (encode-time
+ (decode-time epoch))))
+
(provide 'buildbot-utils)