Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle fields of Datetime type #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

RafaelMCarvalho
Copy link

No description provided.

@RafaelMCarvalho
Copy link
Author

I found a problem :(

It doesn't consider timezones! So, when someone fill flex fields with "10-10-2012 13:50", it saves "10:50" hour in BRT timezone, for example.

I tried to fix, but i didn't found some way to do it.

Can someone try?

@eduardohertz
@rodrigomanhaes
@hugomaiavieira

@eduardohertz
Copy link
Contributor

@RafaelMCarvalho is configured in your application.rb timezone as America/Sao_Paulo?

I opened a project and run "10-10-2012 13:50".to_datetime and "10-10-2012 13:50 -03:00".to_datetime and both worked as expect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants