awk mktime expected different date format. replace with date in seconds #8

Merged
ben merged 1 commits from tomasino/radiobot:master into master 2020-06-28 16:57:52 +00:00
Contributor

Replaced mktime call, which expected YYYY MM DD HH MM SS[ DST] with another call to date. We need two since we're displaying the pretty date format as well. With that in mind I'm just doing seconds math and using awk to pretty-format the time.

Replaced mktime call, which expected YYYY MM DD HH MM SS[ DST] with another call to date. We need two since we're displaying the pretty date format as well. With that in mind I'm just doing seconds math and using awk to pretty-format the time.
ben merged commit c78d6eb575 into master 2020-06-28 16:57:52 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tilderadio/radiobot#8
No description provided.