elifesciences / elife-bot

tools for creating an automatic publishing workflow.
MIT License
19 stars 10 forks source link

Move date functions to utils.py, change utcnow() and … #1924

Closed gnott closed 4 months ago

gnott commented 4 months ago

…utcfromtimestamp() usage.

Re issue https://github.com/elifesciences/issues/issues/8825

Also, wanted to move the get_current_datetime() function out of cron.py to a better place for code re-use, now in utils.py.