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.
Posted
Thanks for the tip, will update the format at Snitz
Posted
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.
Last edited by sadra on Jan 27, 2021 03:51
Posted
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
Posted
Last edited by sadra on Jan 28, 2021 16:47
Posted
Ok thanks that's perfect, I'll take look at the weekend to see what's wrong
Posted
how did you get on

Phil
Posted
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
Posted
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.
Posted
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.
FileUpload
If you're having problems uploading, try choosing a smaller image.
Send Topic
Loading...