开发者

Date formatting in tr Locale, Windows 7 and Linux gives 2 results

开发者 https://www.devze.com 2023-04-10 02:10 出处:网络
When the following code runs in Windows 7 it开发者_JS百科 gives the month in Turkish but in Linux it gives the month in English:

When the following code runs in Windows 7 it开发者_JS百科 gives the month in Turkish but in Linux it gives the month in English:

new SimpleDateFormat("dd MMMMMM", new Locale("tr")).format(date);
  • Windows 7 - 23 Ağustos
  • Linux - 23 August

I want the month in Turkish in Linux too!

How do I do this?


Java does not support Turkish writing on linux operating systems. You can reference the following documentation. Here

Look under...

2.Enabled Writing Systems for Java Foundation Classes

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号