IBM Support

LO51716: LOTUSSCRIPT USING "DOC.CREATED" OUTPUTS INCORRECT DATE AND TIME

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as returned (APAR cannot be resolved without additional info from IBM or customer.)

Error description

  • In English Notes client 8.5.1 this issue has been seen. The
    customer is using a
    script called 'ERSTELLDATUM ANZEIGEN'.
    This agent use the following lotusscript code:
    
    Sub Initialize
           Dim Workspace As New NotesUIWorkspace
           If Workspace Is Nothing Then
                   Exit Sub
           End If
    
           Dim DB As NotesDatabase
           Set DB = Workspace.CurrentDatabase.Database
           If DB Is Nothing Then
                   Exit Sub
           End If
    
           Dim DocCollection As NotesDocumentCollection
           Set DocCollection = DB.UnprocessedDocuments
           If DocCollection Is Nothing Then
                   Exit Sub
           End If
    
           Dim Doc As NotesDocument
           Set Doc = DocCollection.GetFirstDocument
           If Doc Is Nothing Then
                   Exit Sub
           End If
    
           While Not Doc Is Nothing
    
                   Messagebox "Erstelldatum: " & doc.Created, 0 + 16
    , "Debug"
                   Set Doc = DocCollection.GetNextDocument(Doc)
           Wend
    
    End Sub
    
    No issue is seen when OS regional settings is set to English and
    date is in the
    format 14/05/2010. But when this is changed to German the date
    format is
    changed to 14.05.2010. This is when the issue is seen. Now
    selecting teh script
    will not show the correct date and time but instead will show
    incorrect output,
    e.g. 14:27:10.
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • This APAR is associated with SPR# RREN85FH8Z.
    The record was returned to the person who created it for more
     information.
    

APAR Information

  • APAR number

    LO51716

  • Reported component name

    NOTES CLIENT

  • Reported component ID

    5724E6255

  • Reported release

    800

  • Status

    CLOSED RET

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-05-14

  • Closed date

    2010-12-13

  • Last modified date

    2010-12-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTWP","label":"Lotus Notes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
13 December 2010