Matt White
Matt White

Reputation: 700

Inconsistent Times being stored in XPages

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.

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?

Upvotes: 3

Views: 753

Answers (4)

Richard Arun kumar
Richard Arun kumar

Reputation: 207

I have faced the same Issue, After Install FixPack3 in lotus notes client 8.5.3 then this has been resolved

Thanks

Richard Arun kumar.A

Upvotes: 1

Paul Hannan
Paul Hannan

Reputation: 587

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.

Upvotes: 4

Matt White
Matt White

Reputation: 700

I have Mark Myers to thank for this answer.

It seems that the issue is time zone related, but odd. The server is set to observe daylight savings, if we turn this off then the code works as expected. The problem then is that "classic" Domino apps no longer work. So, in my mind, I consider this a bug. But at least for now we have a solution.

Thanks for the assistance.

Matt

Upvotes: 2

Simon McLoughlin
Simon McLoughlin

Reputation: 8465

could this be an issue with daylight savings being set somewhere?

Upvotes: 1

Related Questions