Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

Fix for "Error with time data" #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ILAsoft
Copy link

@ILAsoft ILAsoft commented Oct 6, 2017

Automatically and silently default to a "1900-01-01" date when an invalid date is encountered.

Resolves #70 by substituting invalid dates with 1900-01-01.

Automatically and silently default to "None" when an invalid date is encountered.
Resolves some-programs#70
@thomasf
Copy link
Collaborator

thomasf commented Oct 6, 2017

I dont think that silently dropping data is a good default behaviour, it just makes it harder to know if a conversion was successful. It's maybe a good idea to continue execution if an error is logged.

@ILAsoft
Copy link
Author

ILAsoft commented Oct 6, 2017

Makes sense, @thomasf - to follow current app's standart just a console output or would you recommend some other approach?

Side note - ran into this behavior and fix resolved the issue for me, Jekyll accepted the converted files successfully.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants