Date format of MonthCalendar (in DateTimeEditBox)

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 7 years ago by Toshiyuki Tega
Version: 12.2.0571
Avatar

Hi, I'm wondering how I can customize the date format shown at the top of MonthCalendar.

 

It is displayed in "month/year" order by default, while the today button shows the current date in "year/month/day" order (perhaps according to the current UI culture).

Since we prefer "year/month/day" order in Japan, I'd like the date at the top to be displayed in the same order.

Please refer to the following image in case it isn't clear which parts I am mentioning.

http://www.softgate.co.jp/files/DateTimeEdit.png

 

Thanks in advance!

Comments (1)

Answer - Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi,

Thanks for writing.  We've updated the code that builds up that title area to use a pattern string found in the CultureInfo data instead of hardcoding it to "month year".  This update will be in the next maintenance release.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.