DiscipleTools / disciple-tools-bulk-magic-link-sender

disciple-tools-magic-links
Other
2 stars 5 forks source link

Date field - recording prior day's date #143

Closed ahillbilly closed 2 months ago

ahillbilly commented 2 months ago

I created a custom date field for Birth Date and added it to a magic link submission.

Initially it populates today's date if empty, which is survivable but not ideal. It triggers user to change the information (increased submission), but if they don't then they submit today's date (bad data rather than no data).

When choosing the date, I noticed it said 12:00am (default value rather than blank). I submitted the appropriate date and it recorded the prior day's date in the D.T instance. I went back to the magic link and changed the hour to 4am instead of midnight and it changed the date in D.T to the correct date. I tried again with 12am and got the wrong date again. I'm assuming it is related to the instances timezone setting... but the date field doesn't need time accuracy in this instance and I can't figure out how to turn it off.

Can the date picker settings on magic link date fields be tweaked to not focus on time and not set a default date of [Today]?