I'm experiencing an issue with a profile field and Webform which is fairly similar to 2061035 - Date Token Shows Wrong Date. We're auto-filling a webform field with a date of birth set in the profile and the value appearing on the webform is one day off. (By the way, the site uses the America/New York timezone.)

The date is stored in the profile_values table as

Array
(
    [month] => 7
    [day] => 26
    [year] => 1963
)

but it's shown as 07/25/1963 on the webform.

One of my colleagues fixed this manually (I'm going to attach a patch to give you an idea), but I'm not sure whether it's a good solution.

Comments

scorchio created an issue. See original summary.

scorchio’s picture

Here's the patch mentioned.

scorchio’s picture

Issue summary: View changes
scorchio’s picture

Issue summary: View changes