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
docs: Some small typos and modifications in libraries/time.rst #8884
base: develop
Are you sure you want to change the base?
Conversation
Some small typos and modifications in libraries/time.rst
$time == now Now | ||
=============================== ================================= | ||
|
||
The exact language used is controlled through the language file, **Time.php**. | ||
The result strings are coming from the language file, **app/Language/{locale}/Time.php**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By default, there is no app/Language/{locale}/Time.php
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kenjis Yes. There is one under system/Language/en/Time.php. How do you think we could change this sentence? Because the current sentence in the guide is more incomprehensible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about this?
The result strings are coming from the system language file Time.php.
If you want to overwrite them, create app/Language/{locale}/Time.php.
$time < 1 minute Now | ||
=============================== ================================= | ||
|
||
The exact language used is controlled through the language file, **Time.php**. | ||
The result strings are coming from the language file, **app/Language/{locale}/Time.php**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By default, there is no app/Language/{locale}/Time.php
.
Change last sentence in humanize() in libraries/time.rst
Description
Some small typos and modifications in libraries/time.rst
Checklist: