Version: SNAPSHOT_v9.1d_2013_10_15
Hi Isomorphic/All,
I have a ListGrid with 2 fields of type: "time". Used to register the time of log in/out of users in the system everyday.
The issue here is that when is saved the record, the time I entered in both fields are changed applying the Time Zone, for example:
I create a new record with the following values:
- Log In: 9:00
- Log Out: 14:00
When this record is saved, automatically both fields change to:
- Log In: 14:00
- Log Out: 19:00
If I chek this record on the Database the values are the same that I filled:
- Log In: 9:00
- Log Out: 14:00
The UCT time from where I am is: UTC -05:00
Time.getDefaultDisplayTimezone(); returns ---> -05:00
Any idea how to disable this? Is there any other type of fields to work with this?
I just want to show the same time I filled and is stored in the Database.
I've been researching in the documentation how to handle this, but my tests still don't work.
Thanks in advance.
Hi Isomorphic/All,
I have a ListGrid with 2 fields of type: "time". Used to register the time of log in/out of users in the system everyday.
Code:
{
name: 'logIn',
title: 'Log In',
type: "time"
},
{
name: 'logOut',
title: 'Log Out',
type: "time"
}I create a new record with the following values:
- Log In: 9:00
- Log Out: 14:00
When this record is saved, automatically both fields change to:
- Log In: 14:00
- Log Out: 19:00
If I chek this record on the Database the values are the same that I filled:
- Log In: 9:00
- Log Out: 14:00
The UCT time from where I am is: UTC -05:00
Time.getDefaultDisplayTimezone(); returns ---> -05:00
Any idea how to disable this? Is there any other type of fields to work with this?
I just want to show the same time I filled and is stored in the Database.
I've been researching in the documentation how to handle this, but my tests still don't work.
Thanks in advance.