This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hello I want to change date format from english to arabic.
post.published_at|date("F jS, Y") }}
marc.jauvin24240 said:
ok, and what's the problem?
i'm translating a template from english to arabic, how can i let the date appear in arabic not english, sorry i'm new to Octobercms.
I'm missing information. You want to change the date FORMAT or the month name in Arabic? Give an example of what you currently get and what you want.
marc.jauvin24240 said:
I'm missing information. You want to change the date FORMAT or the month name in Arabic? Give an example of what you currently get and what you want.
I want to change the month name with this function but i don't know where to add it, i tried DateTime.php but with no luck.
Function : https://pastebin.com/PE3K4Yz2 DateTime.php : https://pastebin.com/3SZCap9i
1-5 of 5