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.
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.
نوشته شده در
Thanks for the tip, will update the format at Snitz
نوشته شده در
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.
آخرین ویرایش توسط
نوشته شده در
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
نوشته شده در
آخرین ویرایش توسط
نوشته شده در
Ok thanks that's perfect, I'll take look at the weekend to see what's wrong
نوشته شده در
how did you get on

Phil
نوشته شده در
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
نوشته شده در
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.
نوشته شده در
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.
بارگزاری فایل
If you're having problems uploading, try choosing a smaller image.
ارسال موضوع
Loading...