不一致的时代存储在XPages中 [英] Inconsistent Times being stored in XPages

查看:88
本文介绍了不一致的时代存储在XPages中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我有一个XPage的时间字段:

If I have an XPage with a Time field on it:

<xp:inputText id="inputText2" value="#{document1.Time}"
    defaultValue="#{javascript:@Now()}">
    <xp:this.converter>
        <xp:convertDateTime type="time"
            ignoreUserTimeZone="false"
            timeStyle="full">
        </xp:convertDateTime>
    </xp:this.converter>
</xp:inputText>

我的服务器设置为英国时间,当我保存文档,然后再次查看时间将已经移动了一个小时。

My server is set to UK time, when I save the document and then view it again the time will have moved on by one hour.

在我的xsp.properties文件中,我有:

In my xsp.properties file I have:

xsp.user.timezone=true
xsp.user.timezone.roundtrip=true

这是一个错误还是我没有正确配置我的服务器?

Is this a bug or me not having configured my server correctly?

推荐答案

这是一个错误和回归(以上工程在852年)。 IBM正在努力解决问题。稍后再说一遍,但是在此期间,您可以使用支持来调用此功能,并且当修补程序可用时,我们将会得到您。

This is a bug and regression (the above works in 852). IBM is working on a fix. More on that later, but in the meantime call this in with Support and when a hotfix becomes available we'll get that to you.

这篇关于不一致的时代存储在XPages中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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