TcMenu / tcMenuLib

TcMenu modular IoT menu library supporting rotary encoder, joysticks, many displays, and remote control over Ethernet and Serial
Apache License 2.0
111 stars 10 forks source link

Gregorian Date Editor Type allows 0's in day and month fields #194

Closed davetcc closed 1 year ago

davetcc commented 1 year ago

Describe the bug Gregorian date render function allows 0 as a valid option for day and month.

Commerical or personal/community use Commercial - davetcc

To Reproduce Simply edit a date field and turn the encoder to the lowest value, it will be 0

Expected behavior The day and month can never be 0.

Screenshots image