mardi 28 avril 2015

Sitecore webforms for marketers datetime issues

We are in the process of upgrading sitecore from 6.5 tot 7.2, and the webforms for marketers module from 2.3 to 2.4

If I submit a form, for example on 0900, log in to the sitecore admin, and open the Forms Report, everything is inserted correctly, except for the "Created" field, which shows the time plus 2 hours -> 1100

If I navigate the sqlite database using SQLite Manager (a firefox plugin) I see that the Timestamp column on the Form table shows the time minus 2 hours -> 0700

The code is in the sitecore.Forms.Core .dll, which I cant debug because I dont have a .pdb file. I`ve looked into the Sitecore.Forms.Config file if I should add some cultureinfo, but cant find anything

Datetime.Now gives the correct datetime if I render it on a page, and if I create items in the sitecore admin, the right dates are inserted.

Does anyone know how this can happen?

Aucun commentaire:

Enregistrer un commentaire