git: 160ccec84c1c - main - bsdinstall: restore --calendar

From: Alfonso S. Siciliano <asiciliano_at_FreeBSD.org>
Date: Wed, 11 Oct 2023 14:02:52 UTC
The branch main has been updated by asiciliano:

URL: https://cgit.FreeBSD.org/src/commit/?id=160ccec84c1cc6de309f44173352f68c8665a119

commit 160ccec84c1cc6de309f44173352f68c8665a119
Author:     Alfonso S. Siciliano <asiciliano@FreeBSD.org>
AuthorDate: 2023-10-11 13:48:53 +0000
Commit:     Alfonso S. Siciliano <asiciliano@FreeBSD.org>
CommitDate: 2023-10-11 13:48:53 +0000

    bsdinstall: restore --calendar
    
    Restore --calendar to select a date because bsddialog(1) >= 0.4
    provides a calendar dialog.
---
 usr.sbin/bsdinstall/scripts/time | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/bsdinstall/scripts/time b/usr.sbin/bsdinstall/scripts/time
index 1d66fa4d5fcf..fe82ce274729 100755
--- a/usr.sbin/bsdinstall/scripts/time
+++ b/usr.sbin/bsdinstall/scripts/time
@@ -44,7 +44,7 @@ DATE=$(bsddialog --backtitle "$OSNAME Installer" \
 	--cancel-label 'Skip' \
 	--default-no \
 	--date-format '%Y%m%d%H%M.%S' \
-	--datebox '' 0 40 \
+	--calendar '' 0 40 \
 2>&1 1>&5) && date $DATE
 exec 5>&-