converts ISO-8601 metadata.sh date to human readable #18

Closed
prx wants to merge 0 commits from date_on_each_issue into main
Collaborator

of course, PUBLISHED_DATE for issue-2 should be modified when necessary.

of course, PUBLISHED_DATE for issue-2 should be modified when necessary.
prx added 1 commit 2021-10-02 14:14:27 +00:00
Owner

Doesn't this prevent "make test" and "make testsite" to work if the date is wrong?

Doesn't this prevent "make test" and "make testsite" to work if the date is wrong?
Author
Collaborator

what do you mean by "if the date is wrong" ?
The date in metadata.sh ?

what do you mean by "if the date is wrong" ? The date in metadata.sh ?
Owner

what do you mean by "if the date is wrong" ?
The date in metadata.sh ?

Yes, for example if you copy _template as a new issue, make test will fail with a weird error because the default metadata.sh has an invalid value. https://tildegit.org/solene/openbsd-webzine/src/branch/main/issues/_template/metadata.sh

I'd advise trying to convert the date and catch an error done by date if any to display a proper error message

> what do you mean by "if the date is wrong" ? > The date in metadata.sh ? Yes, for example if you copy `_template` as a new issue, `make test` will fail with a weird error because the default `metadata.sh` has an invalid value. https://tildegit.org/solene/openbsd-webzine/src/branch/main/issues/_template/metadata.sh I'd advise trying to convert the date and catch an error done by date if any to display a proper error message
prx added 1 commit 2021-10-02 15:40:10 +00:00
Author
Collaborator

done.
What do you think?

done. What do you think?
prx added 1 commit 2021-10-02 19:05:29 +00:00
prx added 1 commit 2021-10-02 19:07:57 +00:00
prx closed this pull request 2021-10-02 19:13:14 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
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: solene/openbsd-webzine#18
No description provided.