adding date time field in settings tab #142

Closed
psaxena opened this Issue Apr 27, 2012 · 5 comments

Comments

Projects
None yet
4 participants

psaxena commented Apr 27, 2012

Hi,

I've added a date time field under leads tab. I am able to see it in form, but the datetime i am selecting in not getting saved in DB and hence not able to view valiue of same.

Owner

warp commented Apr 29, 2012

Hi, Are you using 'en-US' as your locale or something else? are you running the master branch or a release? Thanks

psaxena commented Apr 30, 2012

Yes i am using 'en-US' as locale. And i am using master branch

On Sat, Apr 28, 2012 at 11:46 PM, Ben Tillman <
reply@reply.github.com

wrote:

Hi, Are you using 'en-US' as your locale or something else? are you
running the master branch or a release? Thanks


Reply to this email directly or view it on GitHub:
#142 (comment)

psaxena commented May 1, 2012

I got the issue. it is because of date time field picking up values in mm/dd/yyyy format. Because of which it is not getting saved in database.

For ex, for 29th sept it takes up date 9/29/2012 which is not acceptable by Database a.

I need to chnage format of datetime custom field. how can do it.

akira8 commented Jul 5, 2012

You can change calendar date formating to "italian" in your translation.
ie. config/locales/en-US_fat_free_crm.yml

change from:
calendar_date_select_format: american

to:
calendar_date_select_format: italian

Seems like a workaround, but now it's working.

Owner

steveyken commented Dec 27, 2012

This was fixed a few months ago with jQuery datepicker

steveyken closed this Dec 27, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment