Why are you parsing if you have all the data?
Just create a Time object with your parameters. Please read the docs -> Class: Time (Ruby 3.1.2)
Why are you parsing if you have all the data?
Just create a Time object with your parameters. Please read the docs -> Class: Time (Ruby 3.1.2)