Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@epistrephein
Copy link

Thanks to the knowledgeable guidance of this PR comment from @hsbt, who has a deep understanding of the entire workflow, I traced the origin of an issue in the generated data files for ruby/www.ruby-lang.org to the make-snapshot tool here.

The issue (see ruby/www.ruby-lang.org#3672 and all its ancestors) is that the resulting YAML block from make-snapshot, which then flows in the _data/releases.yml, generates the release date as a String (using strftime) instead of a Date object.

This string is then persisted as is in the YAML downstream, breaking consistency with the other date objects and requiring a manual fix to remove the quotes and hence converting in a YAML Date object.

I believe this should be just a simple fix like the one proposed in this PR, but since I'm not sure of all the places these workflows could be used, let me know if the change is acceptable.

Thanks @hsbt for pointing me in the right direction.

@hsbt
Copy link
Member

hsbt commented Nov 12, 2025

🙏 Thanks for your work. I forgot to say "Thank you!" at ruby/www.ruby-lang.org#3672 (comment)

I will confirm this behavior later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants