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

LocalDate::now($timezone /*= system TimeZone*/) #113

Open
nkamuo opened this issue Aug 9, 2024 · 1 comment
Open

LocalDate::now($timezone /*= system TimeZone*/) #113

nkamuo opened this issue Aug 9, 2024 · 1 comment

Comments

@nkamuo
Copy link

nkamuo commented Aug 9, 2024

The LocalDate::new(), LocalTime::new() and LocalDateTime::new() all require the timezone parameter.
It would be a lot easier to use if the ::now() method's timezone parameter is optional and defaults to the configured php TimeZone.

@zjbarg
Copy link

zjbarg commented Aug 9, 2024

that's kinda what I'm referring to in #111

Making it easier to use generally.

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

No branches or pull requests

2 participants