Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
Merge schedule summary and timezone into one line in trigger config
Paulo Castellano867c8d8acf0b
diff --git a/lang/en/automations.php b/lang/en/automations.phpindex 8355bfce0..9f869e81a 100644--- a/lang/en/automations.php+++ b/lang/en/automations.php@@ -249,7 +249,6 @@ return ['minute' => 'Trigger at minute','weekdays' => 'Trigger on weekdays','day_of_month' => 'Day of month',- 'timezone_hint' => 'All times in :tz','weekday_names' => ['sun' => 'Sun','mon' => 'Mon',diff --git a/lang/es/automations.php b/lang/es/automations.phpindex b28a22c64..b32a4e99b 100644--- a/lang/es/automations.php+++ b/lang/es/automations.php@@ -249,7 +249,6 @@ return ['minute' => 'Disparar al minuto','weekdays' => 'Disparar en días','day_of_month' => 'Día del mes',- 'timezone_hint' => 'Todos los horarios en :tz','weekday_names' => ['sun' => 'Dom','mon' => 'Lun',diff --git a/lang/pt-BR/automations.php b/lang/pt-BR/automations.phpindex ffc28c9e0..d608a5fb5 100644--- a/lang/pt-BR/automations.php+++ b/lang/pt-BR/automations.php@@ -249,7 +249,6 @@ return ['minute' => 'Disparar no minuto','weekdays' => 'Disparar nos dias','day_of_month' => 'Dia do mês',- 'timezone_hint' => 'Todos os horários em :tz','weekday_names' => ['sun' => 'Dom','mon' => 'Seg',diff --git a/resources/js/components/automations/config/TriggerNodeConfig.vue b/resources/js/components/automations/config/TriggerNodeConfig.vueindex 054b830ec..199646f6c 100644--- a/resources/js/components/automations/config/TriggerNodeConfig.vue+++ b/resources/js/components/automations/config/TriggerNodeConfig.vue@@ -84,6 +84,22 @@ const isWeekdaySelected = (value: number) =>const generatedCron = computed(() => generateScheduleCron(local.value));const humanSchedule = computed(() => scheduleSummary(local.value));+// Append the user's timezone only for schedules pinned to a clock time+// (days/weeks/months). Minute/hour intervals are relative, so a timezone+// would be meaningless next to them.+const scheduleSummaryLine = computed(() => {+ if (!humanSchedule.value) {+ return '';+ }+ const pinsClockTime = local.value.schedule_field === ScheduleField.Days+ || local.value.schedule_field === ScheduleField.Weeks+ || local.value.schedule_field === ScheduleField.Months;++ return pinsClockTime+ ? `${humanSchedule.value} (${timezoneAbbr.value})`+ : humanSchedule.value;+});+watch(generatedCron, (cron) => {if (local.value.trigger_type === TriggerType.Schedule) {local.value.cron = cron;@@ -269,8 +285,7 @@ watch(local, (val) => emit('update', val), { deep: true });</div></template>- <p class="rounded-md bg-muted px-3 py-2 text-xs text-foreground/70">{{ humanSchedule }}</p>- <p class="text-xs text-foreground/50">{{ $t('automations.config.trigger.schedule.timezone_hint', { tz: timezoneAbbr }) }}</p>+ <p class="rounded-md bg-muted px-3 py-2 text-xs text-foreground/70">{{ scheduleSummaryLine }}</p></template></div></template>