本文介绍了如何在datetimepicker中设置时区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用此datetimepicker jQuery插件: http://xdsoft.net/jqplugins/datetimepicker/,但我不知道如何使用时区.我看到了文档,但是找不到.
I'm using this datetimepicker jquery plugin: http://xdsoft.net/jqplugins/datetimepicker/ and I didn't get it how to use timezone.I saw the documentation, but I couldn't find it.
我试图做的是这样的:
serviceDateTime.datetimepicker({
lang: 'pt-BR',
format: 'd/m/Y H:i',
mask: true,
step: 30,
showTimezone: true,
timezone: "-0200"
});
有帮助吗?预先感谢!
Any help?Thanks in advance!
推荐答案
该插件仅用于为用户提供选择日期和时间的界面.
The plugin is simply used to give the user an interface to pick date and time.
如果您担心显示基于您的时区,请查看是否有帮助:
If you're concerned about the display to be based on your timezone, see if this helps:
这篇关于如何在datetimepicker中设置时区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!