We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
now time is :
php -r "echo date('Y-m-d H:i:s'),PHP_EOL;"
2017-02-15 09:52:42
php -r "echo time(),PHP_EOL;"
1487123624
here is the code :
require __DIR__."/vendor/autoload.php"; $m = new \Moment\Moment("2017-02-21 09:40:22", 'PRC'); \Moment\Moment::setLocale('zh_CN'); echo $m->calendar(),PHP_EOL;
result is: 本周二 09:40 but the result should be "下周二",please have a look,thanks!
本周二 09:40
The text was updated successfully, but these errors were encountered:
Can you check what's going wrong? I don't speak any Chinese.
Sorry, something went wrong.
No branches or pull requests
now time is :
php -r "echo date('Y-m-d H:i:s'),PHP_EOL;"
2017-02-15 09:52:42
php -r "echo time(),PHP_EOL;"
1487123624
here is the code :
result is:
本周二 09:40
but the result should be "下周二",please have a look,thanks!
The text was updated successfully, but these errors were encountered: