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

Add support for time types without seconds #37

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

Conversation

toby-griffiths
Copy link

Previously, if you try to use this guesser with a Time field without seconds, this fails because it doesn't take the withSeconds parameter into consideration.

Now, this will add input_format = 'H:i' if withoutSeconds = true.

I cannot see where the tests are for this, so have not written one, but please advise if there is somewhere I can add one.

Previously, if you try to use this guesser with a Time field without seconds, this fails because it doesn't take the withSeconds parameter into consideration.

Now, this will add `input_format` = 'H:i' if `withoutSeconds` = true.
@GromNaN
Copy link
Member

GromNaN commented Oct 1, 2024

Thanks for your Pull Request! We love contributions.

However, you should instead open your PR on the main repository:
https://github.com/symfony/symfony

This repository is what we call a "subtree split": a read-only subset of that main repository.
We're looking forward to your PR there!

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