Skip to content

Commit 5922343

Browse files
Show next maintenance date in splash screen footer
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2bd2556 commit 5922343

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/bodhi-splash

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,9 @@ __bodhi_splash_main() {
328328
_bs_mid
329329
_bs_contact_info
330330
_bs_mid
331-
_bs_row "${_dim}Maintenance is performed the last Thursday of every month.${_rst}"
331+
local _next_maint_str
332+
_next_maint_str=$(date -d "@$(_bs_get_next_maintenance)" "+%B %-d")
333+
_bs_row "${_dim}Cluster unavailable the last Thursday of every month (next: ${_next_maint_str}).${_rst}"
332334
_bs_bot
333335

334336
printf '\n'

0 commit comments

Comments
 (0)