12-hour time
This commit is contained in:
parent
2b004d9553
commit
b9388843cf
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ async def order_mastodon_post(session, orders_str, repeats, due_at):
|
||||||
post += orders_str + "\n\n"
|
post += orders_str + "\n\n"
|
||||||
if repeats > 1:
|
if repeats > 1:
|
||||||
post += f"These are the same orders from the last {repeats} days\n\n"
|
post += f"These are the same orders from the last {repeats} days\n\n"
|
||||||
post += "Proof of compliance is due by " + due_at.strftime("%H:%M %p")
|
post += "Proof of compliance is due by " + due_at.strftime("%I:%M %p")
|
||||||
|
|
||||||
m = Mastodon(session)
|
m = Mastodon(session)
|
||||||
return await m.statusPost(post)
|
return await m.statusPost(post)
|
||||||
|
|
@ -26,7 +26,7 @@ async def order_telegram_post(session, orders_str, repeats, due_at, m_url):
|
||||||
post += orders_str + "\n\n"
|
post += orders_str + "\n\n"
|
||||||
if repeats > 1:
|
if repeats > 1:
|
||||||
post += f"These are the same orders from the last {repeats} days\n\n"
|
post += f"These are the same orders from the last {repeats} days\n\n"
|
||||||
post += "Proof of compliance is due by " + due_at.strftime("%H:%M %p") + "\n\n"
|
post += "Proof of compliance is due by " + due_at.strftime("%I:%M %p") + "\n\n"
|
||||||
post += m_url
|
post += m_url
|
||||||
|
|
||||||
t = Telegram(session)
|
t = Telegram(session)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue