I have this:
<label for="eventendtime">Event End Time</label>
<% var enddate = data[i].ENDDATE.split(' ') %>
<input type="time" name="eventendtime" id="eventendtime" value="<%= enddate[0] %>">
basically, the enddate[0]
returns:
1:30
but when I put it as either value
like you can see above, or placeholder
, it still always forces it to go to 12:30
, which is super strange! I can’t figure out how to do this. how can i fix it?