-
Alex Ghiculescu authored
https://github.com/rails/rails/pull/46678 introduced a regression, if you do the following: ```ruby = time_field(model, attr, value: "01:45") ``` Previously it would render an input with `value="01:45"`, since https://github.com/rails/rails/pull/46678 it renders a value with seconds (`value="01:45:00.000"`). This is a regression from Rails 7. See https://github.com/rails/rails/pull/41728 for why you might want the value to be rendered without seconds. Co-authored-by:
jonathanhefner <jonathan@hefner.pro>
Alex Ghiculescu authoredhttps://github.com/rails/rails/pull/46678 introduced a regression, if you do the following: ```ruby = time_field(model, attr, value: "01:45") ``` Previously it would render an input with `value="01:45"`, since https://github.com/rails/rails/pull/46678 it renders a value with seconds (`value="01:45:00.000"`). This is a regression from Rails 7. See https://github.com/rails/rails/pull/41728 for why you might want the value to be rendered without seconds. Co-authored-by:
jonathanhefner <jonathan@hefner.pro>
Loading