fix: Added by default timezone for send now schedule (#4563)

#4564 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced report creation by capturing and storing timezone information
alongside scheduled times.
- Improved accuracy in scheduling and reporting for applications
operating across different time zones.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Omkar Kesarkhane
2024-09-16 19:13:55 +05:30
committed by GitHub
parent 6c6a6d6d9f
commit 3bb3cd6993
@@ -1281,6 +1281,11 @@ const saveReport = async () => {
scheduling.value.time = `${hours}:${minutes}`;
}
// If the user has selected to schedule now, we set the timezone to the current timezone
if (selectedTimeTab.value === "scheduleNow") {
scheduling.value.timezone = timezone.value;
}
const convertedDateTime = convertDateToTimestamp(
scheduling.value.date,
scheduling.value.time,