Calendar year view Persian wrong

Snitz™ .NET Core
https://www.reddick.co.uk/mvc/Topic/Posts/4835?pagenum=1
Jul 01, 2025 20:49

Topic


sadra
Calendar year view Persian wrong
Oct 06, 2018 13:48


Platform: any
Operating System: any
Browser: any
Language: Persian
URL:
Description The sort of months in the year view is wrong. The correct arrangement is indicated in the image
Steps
Results Expected result
---------------



Actual result
-------------



Notes/Attachments

 

Replies ...


HuwR
10/6/2018 1:13:53 PM..ToLocalTime().ToForumDisplay()


will see what I can do smile may take a while to work out what the code is doing in order to fix it.
sadra
10/6/2018 1:29:33 PM..ToLocalTime().ToForumDisplay()


will see what I can do smile may take a while to work out what the code is doing in order to fix it.نوشته شده توسط HuwR

Thank you so muchthumbsUp
sadra
10/6/2018 1:31:54 PM..ToLocalTime().ToForumDisplay()


The English quote is beautiful.
HuwR
10/6/2018 1:33:43 PM..ToLocalTime().ToForumDisplay()


The English quote is beautiful.Originally posted by sadra
need to tweak the css a little for Persian, will upload later today.
philsbbs
10/7/2018 11:29:29 AM..ToLocalTime().ToForumDisplay()


thumbsUp
sadra
10/8/2018 5:27:34 AM..ToLocalTime().ToForumDisplay()


Fixing minor calendar issues has ended?
HuwR
10/8/2018 9:55:46 AM..ToLocalTime().ToForumDisplay()


Fixing minor calendar issues has ended?Originally posted by sadra
Not yet no, having problems with birthdays not showing in Persian calendar at the moment, trying to track down whey/where it is ignoring them
sadra
10/8/2018 10:51:32 AM..ToLocalTime().ToForumDisplay()


Fixing minor calendar issues has ended?Originally posted by sadra
Not yet no, having problems with birthdays not showing in Persian calendar at the moment, trying to track down whey/where it is ignoring them
نوشته شده توسط HuwR
Well ... and the other ... In month view cell bckgs are not set for the first day to end day of a month. and other: arrow buttons for next and prev month are inverses. and other: Persian month name order are:
1. Farvardin - فروردین
2. Ordibehesht - اردیبهشت
3. Khordad - خرداد
4. Tir - تیر
5. Mordad - مرداد
6. Shahrivar - شهریور
7. Mehr - مهر
8. Aban - آبان
9. Azar - آذر
10. Dey - دی
11. Bahman - بهمن
12. Esfand - اسفند
HuwR
10/8/2018 1:41:43 PM..ToLocalTime().ToForumDisplay()


looks like the ltr tags are interfering with message layout
sadra
10/9/2018 3:32:48 AM..ToLocalTime().ToForumDisplay()


looks like the ltr tags are interfering with message layoutنوشته شده توسط HuwR
When I want to make sure that the message you will see, is the one I want, i use the tags.
sadra
10/10/2018 3:06:56 AM..ToLocalTime().ToForumDisplay()


Fixing minor calendar issues has ended?Originally posted by sadra
Not yet no, having problems with birthdays not showing in Persian calendar at the moment, trying to track down whey/where it is ignoring them
نوشته شده توسط HuwR

Excellent Mr HuwR, Very good. All of calendar issues ok.thumbsUpsmile
sadra
10/10/2018 5:25:32 AM..ToLocalTime().ToForumDisplay()


A bit: days label numbers must be go to left... like image
sadra
10/10/2018 5:37:56 AM..ToLocalTime().ToForumDisplay()


In week view:

1. Week view title must be rtl direction. 2. Week days label font size must be set to 13px for setting wrap.
sadra
10/10/2018 7:10:24 AM..ToLocalTime().ToForumDisplay()


In Year view:
5th month name is "مرداد" not "امرداد". Amordad(امرداد): This is not an ordinary name, It's an old name and is not used now.

HuwR
10/10/2018 10:22:45 AM..ToLocalTime().ToForumDisplay()


In Year view:
5th month name is "مرداد" not "امرداد". Amordad(امرداد): This is not an ordinary name, It's an old name and is not used now.
Originally posted by sadra
I will have to upload the js language file for you to look at since depending what I open it in, the Arabic looks different bigsmile and none of the month strings match what you have posted
sadra
10/10/2018 10:28:01 AM..ToLocalTime().ToForumDisplay()


I will have to upload the js language file for you to look at since depending what I open it in, the Arabic looks different bigsmile and none of the month strings match what you have postedنوشته شده توسط HuwR

boggledsmile.. Ok...
HuwR
10/10/2018 12:15:01 PM..ToLocalTime().ToForumDisplay()


honestly, what appears in the .js file looks nothing like either of the words you posted bigsmile so not sure what to change, maybe it is getting it from somewhere else?! will have another look
HuwR
10/10/2018 2:35:21 PM..ToLocalTime().ToForumDisplay()


found it eventually bigsmile
HuwR
10/10/2018 3:35:07 PM..ToLocalTime().ToForumDisplay()


calendar js/css files updated, please let me know what is still wrong smile
I think the dates and months should now be correct, well as best as I can get it, main problem is that the inner workings still use Gregorian dates so had to tweak it to play nicely in a few places
sadra
10/10/2018 5:20:44 PM..ToLocalTime().ToForumDisplay()


calendar js/css files updated, please let me know what is still wrong smile
I think the dates and months should now be correct, well as best as I can get it, main problem is that the inner workings still use Gregorian dates so had to tweak it to play nicely in a few placesنوشته شده توسط HuwR

Tanx for your work. Except for small inner workings that you know.
CSS: Font size on week view header is large and create double line.
sadra
10/10/2018 5:22:23 PM..ToLocalTime().ToForumDisplay()


honestly, what appears in the .js file looks nothing like either of the words you posted bigsmile so not sure what to change, maybe it is getting it from somewhere else?! will have another lookنوشته شده توسط HuwR


bigsmilebigsmilebigsmile[^]
sadra
10/10/2018 5:49:54 PM..ToLocalTime().ToForumDisplay()


Like the week view on the calendar, here is the need for css settings. and events box is not RTL

HuwR
10/10/2018 6:39:16 PM..ToLocalTime().ToForumDisplay()


Like the week view on the calendar, here is the need for css settings. and events box is not RTL

Originally posted by sadra
hopefully ok now, css file wasn't loading
sadra
10/11/2018 5:16:17 AM..ToLocalTime().ToForumDisplay()


Tanx... solved...thumbsUp
© 2016-2025 Snitz™ Forums MVC