Revert "Change OS update deadline to 7PM local time" (#41965)

Reverts fleetdm/fleet#38810
This commit is contained in:
George Karr
2026-03-18 14:06:18 -05:00
committed by GitHub
parent d177078b40
commit 61aad1bdba
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1314,7 +1314,7 @@ func (svc *Service) mdmAppleEditedAppleOSUpdates(ctx context.Context, teamID *ui
"Type": %q,
"Payload": {
"TargetOSVersion": %q,
"TargetLocalDateTime": "%sT19:00:00"
"TargetLocalDateTime": "%sT12:00:00"
}
}`, softwareUpdateIdentifier, softwareUpdateType, updates.MinimumVersion.Value, updates.Deadline.Value))
@@ -215,7 +215,7 @@ const AppleOSTargetForm = ({
disabled={gitOpsModeEnabled}
name="deadline"
label="Deadline"
tooltip="The end user can't dismiss the OS update once they reach this deadline. Deadline is 19:00 (7PM), the host's local time."
tooltip="The end user can't dismiss the OS update once they reach this deadline. Deadline is 12:00 (Noon), the host's local time."
helpText="YYYY-MM-DD format only (e.g., “2024-07-01”)."
value={deadline}
error={deadlineError}
@@ -3362,7 +3362,7 @@ func (s *integrationEnterpriseTestSuite) assertAppleOSUpdatesDeclaration(teamID
require.NoError(t, err)
require.Contains(t, string(decl.RawJSON), fmt.Sprintf(`"TargetOSVersion": "%s"`, expected.MinimumVersion.Value))
require.Contains(t, string(decl.RawJSON), fmt.Sprintf(`"TargetLocalDateTime": "%sT19:00:00"`, expected.Deadline.Value))
require.Contains(t, string(decl.RawJSON), fmt.Sprintf(`"TargetLocalDateTime": "%sT12:00:00"`, expected.Deadline.Value))
}
func (s *integrationEnterpriseTestSuite) TestAppleOSUpdatesTeamConfig() {