On Sat, Nov 27, 2021 at 10:13:47PM +0100, viverna wrote:
> Package: dialog
> Version: 1.3-20201126-1
> Severity: normal
> 
> Dear maintainer,
> I have found a bug in dialog package. Bug appears generally when day
> selected and next month than that user selected don't exist.

That's correct (and intentional) behavior.  dialog won't return an invalid
date.  The manual page could be clearer

       --calendar text height width day month year
              A calendar box  displays  month,  day  and  year  in  separately
              adjustable  windows.   If  the values for day, month or year are
              missing or negative, the current date's corresponding values are
              used.   You  can  increment  or decrement any of those using the
              left-, up-, right-, and down-arrows.  Use vi-style h, j, k and l
              for  moving  around  the  array  of days in a month.  Use tab or
              backtab to move between windows.  If the year is given as  zero,
              the current date is used as an initial value.

but there's no code-change to make.

-- 
Thomas E. Dickey <dic...@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to