Skip to content

Commit 3bdb84f

Browse files
📜 Update PGP timestamper mail format
1 parent 43665b1 commit 3bdb84f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
1414
- `sample.env` now contains the actual names of the environment variables.
1515

1616
## Changed
17+
- Format of PGP Timestamper request mail message (ISO 8601 format)
1718

1819

1920
# 0.9.0 - 2020-09-26

autoblockchainify/mail.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,9 @@ def async_email_timestamp(resume=False):
330330
logging.info("Not resuming mail timestamp: No revision info")
331331
return
332332
else: # Fresh request
333-
new_rev = ("Timestamp requested for\ngit commit %s\nat %s\n" %
333+
new_rev = ("git commit %s\nTimestamp requested at %s\n" %
334334
(head.target.hex,
335-
strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime())))
335+
strftime("%Y-%m-%d %H:%M:%S UTC", gmtime())))
336336
with logfile.open('w') as f:
337337
f.write(new_rev)
338338
send(new_rev)

0 commit comments

Comments
 (0)