I see you rolling your eyes. Yes, another thread about DST! 😊
I’ve read the docs. I’ve read forum threads like this. I’m still stuck.
I’m importing entries using DataGrab. Wait! It’s not a DataGrab issue. Please don’t dismiss me yet. 😊
Entries that have dates between now and the next DST change in March are fine. Entries that have dates after the next DST are off by an hour.
The data going into EE is correct. Once EE gets it’s mits on it, they’re off by an hour.
See the attached screen shot. The left side is a debug dump of the $data getting sent to EE. The right side is the entry once it has been created in EE.
I’m expecting the expiration date to be 12:00 AM, just like the data is telling it. Is there a way to tell EE to not adjust for DST and just use the dates it is getting?
This is the API call that is creating the entry.
this->api_channel_entries->submit_new_entry(
$this->channel_defaults["channel_id"],
$data )Here are my localization settings:
// Localization preferences
'server_timezone' => 'UM6',
'server_offset' => FALSE,
'time_format' => 'us',
'daylight_savings' => 'n',
'honor_entry_dst' => 'n',I have turned off the member preference to allow localization override.
This is EE 2.3.1 build 20111017.