Replies: 3 comments 12 replies
-
Would you mind sharing your macros? |
Beta Was this translation helpful? Give feedback.
6 replies
-
it's best if you look at packages. something like https://github.com/omarelnaghy/lara-date-filter or https://github.com/laracraft-tech/laravel-date-scopes |
Beta Was this translation helpful? Give feedback.
3 replies
-
Taylor will close it faster than it will take you to do it. just use the macros, without any review |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
for a date based where, the framework seem to only support the types: year, month, day and time, while as far as I know most of the database management system also support the weekday.
I personnaly often have to create a macro for
whereWeekday
andwhereWeekdayIn
.I'm prepared to do it, but I'd rather gather some opinions beforehand.
Beta Was this translation helpful? Give feedback.
All reactions