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

Months and days translated #2

Closed
wants to merge 2 commits into from
Closed

Months and days translated #2

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jun 3, 2013

Hi,

First of all, sorry for my bad english.

I have removed nl and tr language files to add new entries in en language file and add fr language file.
The format to explain a relative date should depends from a language, according to me, ie in french '42 minutes ago' become 'there is 42 minutes', the suffix change the place with some language.

I have rename ago method to diffForHumans because some case it returns 'ago', some case 'from now', it's more a difference betwin two dates.
I move predefined formats to language files because there are language dependant
I modify the code to use Config::get('app.timezone') as default time zone if none was given.

Hope this helps.

Regards

…anguage files

Rename ago method to diffForHumans, remove timespan method
Move predefined formats to language files
Use Config::get('app.timezone') as default time zone if none was given
@jenssegers
Copy link
Owner

This should be fixed in the current master version, it does require setlocale though.

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

Successfully merging this pull request may close these issues.

None yet

2 participants