问题
i need to add a persian (shamsi) date time picker in my website.i know about persian data time picker in Asp.net or C# but i'm using umbraco and need to add persiandatetimepicker in umbraco that can use and change persiandatetimepickers code in my code. how do i do it?
i found this link: http://our.umbraco.org/forum/developers/api-questions/19718-Using-Umbraco-Date-Time-Picker-in-ASCX-file
but not useful.
回答1:
You can create new datatypes in Umbraco to both store and render dates in your own style and preference. The process involves creating a couple of classes, one of which implements an interface called IDataType. Tim Geyssens, staff at Umbraco HQ, has a great blogpost on the basics here.
来源:https://stackoverflow.com/questions/13429558/how-do-i-add-a-persian-or-other-language-datatimepicker-in-umbraco