Pull request: fix schedule timezone
Updates #6401 Squashed commit of the following: commit 0ed83fd52fe8cf9bd5a8d438e81534799a7fdd83 Author: Ildar Kamalov <ik@adguard.com> Date: Fri Nov 10 16:09:04 2023 +0300 ADG-7720 fix schedule timezone
This commit is contained in:
parent
53170d8711
commit
4b9947da88
|
@ -42,6 +42,7 @@ NOTE: Add new changes BELOW THIS COMMENT.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Missing timezone on schedule form submission ([#6401]).
|
||||||
- Average request processing time calculation ([#6220]).
|
- Average request processing time calculation ([#6220]).
|
||||||
- Redundant shortening long client names in the Top Clients table ([#6338]).
|
- Redundant shortening long client names in the Top Clients table ([#6338]).
|
||||||
- Scrolling column headers in the tables ([#6337]).
|
- Scrolling column headers in the tables ([#6337]).
|
||||||
|
@ -60,6 +61,7 @@ NOTE: Add new changes BELOW THIS COMMENT.
|
||||||
[#6357]: https://github.com/AdguardTeam/AdGuardHome/issues/6357
|
[#6357]: https://github.com/AdguardTeam/AdGuardHome/issues/6357
|
||||||
[#6358]: https://github.com/AdguardTeam/AdGuardHome/issues/6358
|
[#6358]: https://github.com/AdguardTeam/AdGuardHome/issues/6358
|
||||||
[#6368]: https://github.com/AdguardTeam/AdGuardHome/issues/6368
|
[#6368]: https://github.com/AdguardTeam/AdGuardHome/issues/6368
|
||||||
|
[#6401]: https://github.com/AdguardTeam/AdGuardHome/issues/6401
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
NOTE: Add new changes ABOVE THIS COMMENT.
|
NOTE: Add new changes ABOVE THIS COMMENT.
|
||||||
|
|
|
@ -81,6 +81,10 @@ export const Modal = ({
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (timezone !== intialTimezone) {
|
||||||
|
newSchedule.time_zone = timezone;
|
||||||
|
}
|
||||||
|
|
||||||
onSubmit(newSchedule);
|
onSubmit(newSchedule);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue