Proposal: Add a datetime_local method on Time and DateTime classes - typical rails convenience

usage: to format a time (datetime) for an input type=“datetime-local”.

proposal gist here add a datetime_local method on Time and DateTime classes to format a time for an input type="datetime-local" · GitHub

i observed that similar code is already in the Rails code base as a private method for the date time local tag. hence the proposal is to make it available as public convenience method. Adding the methods to the Time, DateTime classes is probably the most Railsy way.