Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Output#version return a Time object #3462

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

robertcheramy
Copy link
Collaborator

Pre-Request Checklist

  • Passes rubocop code analysis (try rubocop --auto-correct)
  • Tests added or adapted (try rake test)
  • Changes are reflected in the documentation
  • User-visible changes appended to CHANGELOG.md

Description

This PR contains modifications needed in order to resolve ytti/oxidized-web#258 .
It returns the time of a commit as a Time object (hash key :time), in order not having to reconvert a String ( hash key :date) back into a Time object later.

The hash key date cannot be removed for now, this has to happen after new versions of oxidized and oxidized-web have been released.

@robertcheramy robertcheramy self-assigned this Mar 17, 2025
robertcheramy added a commit to ytti/oxidized-web that referenced this pull request Mar 17, 2025
- Needs ytti/oxidized#3462 to be released in a
new oxidized version
- TODOs:
  - remove any reference to :date and passing the date as a string.
  - update the gem dependency to the new oxidized version
robertcheramy added a commit to ytti/oxidized-web that referenced this pull request Mar 17, 2025
- Needs ytti/oxidized#3462 to be released in a
new oxidized version
- TODOs:
  - remove any reference to :date and passing the date as a string.
  - update the gem dependency to the new oxidized version
@robertcheramy robertcheramy merged commit b9b6378 into master Mar 17, 2025
12 checks passed
@robertcheramy robertcheramy deleted the feat/output_version_time branch March 17, 2025 14:41
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.

Enhancement Suggestion for Time Conversion Script: Improved Accuracy and Optimization
1 participant