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

Localize Date in Timesheet page #52

Open
teethgrinder opened this issue Oct 17, 2014 · 2 comments
Open

Localize Date in Timesheet page #52

teethgrinder opened this issue Oct 17, 2014 · 2 comments

Comments

@teethgrinder
Copy link

Hello ,
I am trying to localize timesheet page . How can I localize the week day pages ? I try to add this in line 34 of CalendarController but does not effect

setlocale('LC_ALL',array('tr_TR.UTF-8','tr_TR','tr-TR.UTF-8','tr-TR'));
            $day = date("Y-m-d");

Thanks

@chintanbanugaria
Copy link
Owner

You might want to set the language in app/config/app.php. But then you will require language file. I am currently making some changes in the language file. Please hold on till then. After these changes you will be set your default locale to your choice. :)

@teethgrinder
Copy link
Author

Still I handled it by using:

<?php setlocale(LC_ALL, "tr_TR.UTF8");?>
<span class="c_day">{{strftime(' %A', strtotime($day['dayofweek']) )}}</span>

Thanks waiting other changes. Perfect app btw.

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

No branches or pull requests

2 participants