Correcting language resource string and problem in date show. - نوشته شده در (565 Views)
Average Member
sadra
مطلب: 354
starstarstar
Hi
Correcting language resource string and problem in date show.
After corecting "d MMM yyyy" to "dd MMM yyyy" , there was a problem displaying the date.
The correct date format sort in "language resource" should look like this: Long date = "yyyy MMM dd" and short date = "yyyy/MM/dd"
I should have paid attention to this before, which I unfortunately forgot.

You have already tried hard to show the correct Persian date. But my lack of attention to the format of date in "language resources" has caused these problem.
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Forum Administrator
HuwR
مطلب: 4536
starstarstarstarstar
Thanks for the tip, will update the format at Snitz
نوشته شده در
Average Member
sadra
مطلب: 354
starstarstar

Thanks for the tip, will update the format at Snitzنوشته شده توسط HuwR


Format in Snitz updated But date view (in Persian) not updated (here and in Snitz).
I think the Persian date display codes also need to be updated.

Old format: "d MMM yyyy"
Change to new: "yyyy MMM dd"
Attention:
1. "d" changed to "dd".
2. Replaced the day and year places. - This means that it must be corrected to show Persian format date.

نوشته شده در
Forum Administrator
HuwR
مطلب: 4536
starstarstarstarstar
could you provide some screenshots of where it is wrong and what it should be otherwise I don't know which dates you are talking about
نوشته شده در
Average Member
sadra
مطلب: 354
starstarstar
could you provide some screenshots of where it is wrong and what it should be otherwise I don't know which dates you are talking aboutنوشته شده توسط HuwR


نوشته شده در
Forum Administrator
HuwR
مطلب: 4536
starstarstarstarstar
Ok thanks that's perfect, I'll take look at the weekend to see what's wrong
نوشته شده در
Forum Administrator
philsbbs
مطلب: 2269
starstarstarstarstar
how did you get on question
Phil
نوشته شده در
Forum Administrator
HuwR
مطلب: 4536
starstarstarstarstar
This is not an issue with the forum code but how .Net formats persian dates, it would seem that persian does not recognise dd as a valid value for the dateformat
نوشته شده در
Average Member
sadra
مطلب: 354
starstarstar
This is not an issue with the forum code but how .Net formats persian dates, it would seem that persian does not recognise dd as a valid value for the dateformatنوشته شده توسط HuwR


If you are sure ... ok.
نوشته شده در
Forum Administrator
HuwR
مطلب: 4536
starstarstarstarstar
yes I'm sure, using dd works fine for all other languages but when using persian it fails to replace dd with the data, only works if you pass it d instead of dd, don't know why but not much I can do about it I'm afraid.
 
شما باید یک متن وارد کنید