印度尼西亚语言环境的strftime [英] strftime for Indonesia Locale

查看:75
本文介绍了印度尼西亚语言环境的strftime的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用php的strftime函数根据我设置的语言环境获取时间.因此,对于印尼人来说,如果是2月,它将返回"Pebruari"而不是"Februari".

I am using strftime function of php to get time according to my set locale. So for Indonesian in case of February it is returning 'Pebruari' instead of "Februari".

建议做什么?

推荐答案

似乎正在使用的服务器上未安装印度尼西亚语言环境.

It seems like Indonesian locale is not installed on the server you are working with.

如果您具有对服务器的Shell访问权限,那么可以尝试:

If you have shell access to your server then can you kindly try:

locale -a

并检查服务器上已安装了哪些位置.

And check which locates are installed on your Server.

这篇关于印度尼西亚语言环境的strftime的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆