mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-07 00:09:00 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user