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

Calendar Event Not show If you change language as Persian [9.0] #12780

Closed
Hk005 opened this issue Jul 13, 2016 · 4 comments
Closed

Calendar Event Not show If you change language as Persian [9.0] #12780

Hk005 opened this issue Jul 13, 2016 · 4 comments
Assignees
Labels
Confirmed the bug was confirmed by testers

Comments

@Hk005
Copy link

Hk005 commented Jul 13, 2016

Impacted versions:9.0
Steps to reproduce:create event in calendar as English language selected. Than select persian language from preference and goto calendar. you can not see any event there.

Current behavior:Can not see events in Persian language

Expected behavior: Should see events in persian language

Video/Screenshot link (optional):

@Hk005 Hk005 changed the title Calendar Event Not show If you change language as Persian Calendar Event Not show If you change language as Persian [9.0] Jul 13, 2016
@ghost
Copy link

ghost commented Jul 15, 2016

@Hk005 I think it is related to MomentJS library, trying to display Persian numbers. I fixed it by replacing them with Latin numbers.

@Hk005
Copy link
Author

Hk005 commented Jul 16, 2016

@fshahy thanks for suggesting way to fixed it but actually I have not much idea about MomentJS lib so can you guide me how can i do it OR any other reference/example?

Regards.

@mart-e mart-e added the Confirmed the bug was confirmed by testers label Jul 20, 2016
@mart-e
Copy link
Contributor

mart-e commented Jul 20, 2016

@csnauwaert could you take a look please?
moment(date_start).format('YYYY-MM-DD HH:mm:ss') gives something like ۲۰۱۶-۰۷-۲۱ ۰۰:۰۰:۰۰ which can not be parsed by fullcalendar.

@Yenthe666
Copy link
Collaborator

Hey all,

This issue has been fixed and seems to work fine in the meanwhile. An example of a calendar item I made in English and I then switched to Persian:
image

Regards,
Yenthe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed the bug was confirmed by testers
Projects
None yet
Development

No branches or pull requests

4 participants