diff --git a/azurerm/helpers/supress/suppress_test.go b/azurerm/helpers/supress/suppress_test.go index 4ed1647da373..4638caa2867e 100644 --- a/azurerm/helpers/supress/suppress_test.go +++ b/azurerm/helpers/supress/suppress_test.go @@ -1,6 +1,8 @@ package supress -import "testing" +import ( + "testing" +) func TestInternal_Suppress_CaseDifference(t *testing.T) { cases := []struct { @@ -74,8 +76,8 @@ func TestInternal_Supress_Rfc3339Time(t *testing.T) { Suppress: true, }, { - TimeA: "2000-01-01T01:23:45+7:00", - TimeB: "2000-01-01T08:23:45Z", + TimeA: "2000-01-01T01:23:45-08:00", + TimeB: "2000-01-01T09:23:45Z", Suppress: true, }, } diff --git a/azurerm/resource_arm_scheduler_job.go b/azurerm/resource_arm_scheduler_job.go index 9cff11e79636..16a3fdc53526 100644 --- a/azurerm/resource_arm_scheduler_job.go +++ b/azurerm/resource_arm_scheduler_job.go @@ -496,7 +496,7 @@ func resourceArmSchedulerJobCreateUpdate(d *schema.ResourceData, meta interface{ if err != nil { return fmt.Errorf("Error parsing start time (%s) for job %q (Resource Group %q): %+v", d.Get("start_time"), name, resourceGroup, err) } - job.Properties.StartTime = &date.Time{startTime} + job.Properties.StartTime = &date.Time{Time: startTime} //state if state, ok := d.GetOk("state"); ok {