-
Notifications
You must be signed in to change notification settings - Fork 369
locale bug when edit events #38
Comments
Can you send me a screenshot of the parts that aren't being translated just so we're on the same page. Thanks. |
Ah OK, I thought that was the case. The datepicker there isn't actually a part of this library, it's part of the ui-bootstrap library. Maybe use a different datepicker? I've used this one before and I think it has the i18n support you need. |
ok, then I need to integrate other datepicker? |
Using another datepicker with proper i18n support should solve your problem. |
Thank you again. Cool plugin. |
hey, I just read that this plugin have i18n support. It work's good only when I click on some date from calendar. After clicking on buttons that change the string comes back in english. |
I can see this bug in your demo, too. After picking a date (for example 1 march) this field will be "Mar 1, 2015 8:30:00 AM" I tried to replicate this behavior without your plugin. And these strings works good. Please check this when you have some free time. Thanks. |
I can replicate the bug you are experiencing but it has nothing to do with the calendar. When I remove the calendar plugin from the demo it still occurs. It's an issue with ui-bootstrap and not with this library. Here's a codepen to demonstrate the problem with the calendar stripped out of it: http://codepen.io/anon/pen/VYgKzo Edit: it's due to angular 1.3. If you downgrade the angular version in the example to 1.2 then it works OK. Looks like a known bug with ui-bootstrap: angular-ui/bootstrap#2659 |
Just found the problem. Angular 1.3.15 is incompatible with ui-bootstrap-0.12.1 Tested with angular 1.2.16 and works fine. Should I use angular 1.2.16 instead of 1.3.15? |
I'm planning on dropping support for angular 1.2 in the calendar soon, you could try this fix: angular-ui/bootstrap#2659 (comment) |
Good. Now looks better: http://codepen.io/anon/pen/azXBeB |
Try this one instead, it seems to work: angular-ui/bootstrap#2659 (comment) |
yes, that fix resolve all my problems. Thank you! |
Hello. Great plugin. Just tested it.
I have integrated angular-i18n for my locale and moment.js too.
The calendar works great, in my language with my locale strings and the weekly days begins with "Monday".
But in "Edit events" tab, StartsAt and EndsAt show me something like "Wed Mar 25 2015 08:30:00 GMT+0200 (EET)". When I change date from calendar view and click on some date - this field will show me the right locale date (for my language), but when click on some buttons (when changing time, for example) the wrong date (english format) appears again.
Another bug is that when calendar-picker displays the first weekly day is "Sunday" (translated in my language, that is good), but must be "Monday" (as it in first big calendar).
I don't know if these bugs comes from this plugin or maybe I do something wrong.
The text was updated successfully, but these errors were encountered: