Skip to content

Conversation

@vatsake
Copy link
Contributor

@vatsake vatsake commented Mar 18, 2025

One addition the the previous PR ( #31 ).
Make sure the regex ignores the quotes.

Quotes in regex are optional, because on null value they don't exist.

        $schedule->daterange = new TimestampRange(...);
        $schedule->save();
        dd($schedule->getOriginal('daterange'), $schedule->daterange);

Currently it includes quotes:
image

@belamov belamov merged commit 87b7fa7 into belamov:master Mar 19, 2025
27 checks passed
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