首页 > 解决方案 > 使用碳解析时间字符串失败

问题描述

有错误

DateTime::__construct(): Failed to parse time string (Wed Mar 04 2020 13:56:00 GMT+0800 (Philippine Standard Time)) at position 41 (p): Double timezone specification

我的代码在哪里:

Carbon::parse($request->birthday)

当我倾销价值$request-> birthday的价值是Wed Mar 04 2020 13:56:00 GMT+0800 (Philippine Standard Time)

标签: phplaravelphp-carbon

解决方案


推荐阅读