-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
Laravel 11 can't get the UTC timestamp #50490
Comments
@jevantang what Carbon version are you using? |
name : nesbot/carbon |
I use always |
You'll have to report this to the carbon repo as we don't control that code sorry. |
1710276559 -> |
@jevantang How do you convert it? |
For the record, this issue is not related to Carbon since |
Laravel Version
11.0.0
PHP Version
8.2.16
Database Driver & Version
MySQL 5.7.44 for Ubuntu 22
Description
I've tried three methods and I can't get the UTC+0 timestamp.
The time value is correct until it is converted to a timestamp.
Laravel 10 was valid code, upgrading to 11 caused problems. No server environment has been changed.
Steps To Reproduce
The text was updated successfully, but these errors were encountered: