Skip to content

timeline displaying any date with 05 in M/D/Y as "05" for year #154

Discussion options

You must be logged in to vote

@Seattle-Archdiocese-Archives you have one item with a date in the format yyyy/mm/dd which is breaking the parsing of your dates.
This item: https://seattle-archdiocese-archives.github.io/image-collection/item.html?id=vr700.02715

The date parsing for creating the Timeline is not sophisticated-- it supports dates only in yyyy, yyyy-mm, yyyy-mm-dd, or mm/dd/yyyy form. If you have something like "1994/02/05", because it has slashes it assumes it is mm/dd/yyyy, thus your new "05" year on the timeline! Fix that date and it will function as expected!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Seattle-Archdiocese-Archives
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants