aboutsummaryrefslogtreecommitdiff
path: root/buildbot-utils.el
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2023-03-23 09:21:56 +1100
committerYuchen Pei <hi@ypei.me>2023-03-23 09:21:56 +1100
commit7cc017ccc12921e38d0ace50400e096a4f6ddd2b (patch)
treed0d39a1cce41f0ea3aab077d0aa6b79f95bb0c12 /buildbot-utils.el
parentf9792cdcfab9b2728b3db8152e62e119b135b7ac (diff)
added buildbot build 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)