Convert valid_date to bytes for conversion (#40872)
Convert valid_date to bytes for conversion (#40872)

Fixes: #40523

Signed-off-by: Abhijeet Kasurde <6334fd0c217b1f2a15926284df229acde5b4fc3a@redhat.com>
thaim/ansible,thaim/ansible