Sort direction, for dates DESC means newest first    Page size 
Posted
Average Member
/mvc/ProtectedContent/Avatar/sadra132338283059455318.jpg
Posts: 350
starstarstar
@Sadra are the post times now displaying correctly? (long format)نوشته شده توسط HuwR


30 مارس 1399..... this is Persian name of March month
30 اردیبهشت 1399

Hi...
the red mark is incorrect...
this is March
Posted
Forum Administrator
/mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
Posts: 4393
starstarstarstarstar
@Sadra are the post times now displaying correctly? (long format)
Posted
Average Member
/mvc/ProtectedContent/Avatar/sadra132338283059455318.jpg
Posts: 350
starstarstar
I'm going to move the date format strings to the language resource so they can be formatted better, should have an update later today.نوشته شده توسط HuwR


Ok..
Posted
Forum Administrator
/mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
Posts: 4393
starstarstarstarstar
I'm going to move the date format strings to the language resource so they can be formatted better, should have an update later today.
Posted
Forum Administrator
/mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
Posts: 4393
starstarstarstarstar
.NET Short date is Ok...
But Long date?!!

Seems to be still a server/calendar problem, it defaults to that format because the Persian calendar is unsupported, not sure why, I will do some more digging.
Posted
Average Member
/mvc/ProtectedContent/Avatar/sadra132338283059455318.jpg
Posts: 350
starstarstar
for TimeAgo remember

The problem isn't timeago unfortunately, on my local server the date is correct without timeago: 24 اردیبهشت 1399 11:29
but here it is showing as: 13 مي 2020 09:20نوشته شده توسط HuwR


tanx ...
For now, let's skip the TimeAgo ..

.NET Short date is Ok...
But Long date?!!
I can't see example for Long Date
Posted
Forum Administrator
/mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
Posts: 4393
starstarstarstarstar
bingo! I have it displaying the correct date now I think, looks like the server was not loading the calendar for some reason, so have added code to force it to load. can you confirm it is now correct and I will retry enabling timeago as I believe that will work now
Posted
Forum Administrator
/mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
Posts: 4393
starstarstarstarstar
for TimeAgo remember

The problem isn't timeago unfortunately, on my local server the date is correct without timeago: 24 اردیبهشت 1399 11:29
but here it is showing as: 13 مي 2020 09:20
Posted
Forum Administrator
/mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
Posts: 4393
starstarstarstarstar
timeago should be turned off for Persian, is it still using it?
Posted
Average Member
/mvc/ProtectedContent/Avatar/sadra132338283059455318.jpg
Posts: 350
starstarstar
the calendar is a javascript plugin it is nothing to do with .net

Currently, displaying All Dates on pages is only a Persian translation of gregorian date... Not Persian date, only persian translation of date.

Yes, all Displayed dates except JavaScript calendar


You will have to explain with examples since I know nothing about Persian dates. AFIK, this date 13/05/2020 should be shown as ۲۴ اردیبهشت ۱۳۹۹ is that not happening?نوشته شده توسط HuwR


That's true...is not happening...
examples:
Short format: Gregorian: 13/05/2020 should be shown as Persian: 1399/02/24
Persian short format only is yyyy/mm/dd

Long format: Gregorian: 13 May 2020 11:29 should be shown as Persian: 24 اردیبهشت 1399 11:29

End of .NET configuration

-----------------------------------------------------------------------

next point:
for TimeAgo remember:
https://www.reddick.co.uk/mvc/Topic/4846?pagenum=2&archived=0


You Must enter a message