How to create custom date in JS and Ruby backend? : <p>I have a backend Ruby and front-end JS. In the database I put a date field as an integer, now when I fillup my date field with an input like this <strong>12/11/20</strong> it shows just first number <strong>12</strong> in created form, but when I write all numbers together like this <strong>121120</strong> it put exactly <strong>121120</strong>. What have I change to have my date shown in a normal way like <strong>12/11/20</strong>?</p>
