-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
[3.x] fix: default date casting #1842
Open
calebdw
wants to merge
1
commit into
larastan:3.x
Choose a base branch
from
calebdw:default_date_casts
base: 3.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Marking as draft until #1831 is merged |
calebdw
force-pushed
the
default_date_casts
branch
from
February 13, 2024 15:33
a1dc8ad
to
8bedb5e
Compare
calebdw
force-pushed
the
default_date_casts
branch
from
February 27, 2024 16:51
8bedb5e
to
137731f
Compare
calebdw
force-pushed
the
default_date_casts
branch
from
March 8, 2024 23:56
137731f
to
e4006d7
Compare
calebdw
force-pushed
the
default_date_casts
branch
from
April 14, 2024 21:59
e4006d7
to
23e5e58
Compare
calebdw
force-pushed
the
default_date_casts
branch
from
April 17, 2024 00:29
23e5e58
to
cdaea6b
Compare
calebdw
force-pushed
the
default_date_casts
branch
from
June 17, 2024 03:20
cdaea6b
to
f3965d3
Compare
@canvural, I've rebased and tests are passing, can this be merged? This just switches the checks around so that if there's an explicit cast for a date it will use the cast instead of the default date cast. |
calebdw
force-pushed
the
default_date_casts
branch
from
July 11, 2024 19:13
f3965d3
to
b2723d9
Compare
calebdw
force-pushed
the
default_date_casts
branch
from
October 1, 2024 18:57
b2723d9
to
e41b26c
Compare
Yes, all this does is just switch the if conditions around to respect the user's custom cast if there is one |
canvural
force-pushed
the
2.x
branch
3 times, most recently
from
October 11, 2024 11:07
39d60e2
to
c4d0ee6
Compare
calebdw
force-pushed
the
default_date_casts
branch
from
November 17, 2024 03:52
e41b26c
to
7b36005
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Closes #1744
Note, this depends on #1831 as that PR refactored the model property logic into a helper class.
Thanks!