What is the correct direction of the date embedded in Arabic text?

The question is pretty simple: I have Arabic text with US formatted date in it. What is the correct order to display this date? Is it (for example) 01/10/2009 or 2009/10/1?

The bidi algorithm recognizes numbers with slashes as neutral and orders them in the same direction as the surrounding text. So the date should be reversed, but that's not what any browser does. On the other hand, I cannot find any rule in the unicode bidi algorithm excluding date patterns. So what's right here and (especially) why?

+2


source to share


1 answer


without going into technical details



I can say that 01/10/2009 is correct and sometimes 10/01/2009 but it is never 2009/10/1

+1


source







All Articles