<commit_before><% position = Time.now.to_i.to_s + Time.now.usec.to_s %>
$("#variable_<%= @variable.id %>_grid_container").append("<%= escape_javascript(render partial: "sheet_variables/form/grid_variables", locals: { disabled: false, sheet_variable: nil, position: position, variable: @variable } ) %>");

$('#variable_<%= @variable.id %>_grid_container .chzn-select').chosen();<commit_msg>Date and Time fields now display properly in grid views<commit_after><% position = Time.now.to_i.to_s + Time.now.usec.to_s %>
$("#variable_<%= @variable.id %>_grid_container").append("<%= escape_javascript(render partial: "sheet_variables/form/grid_variables", locals: { disabled: false, sheet_variable: nil, position: position, variable: @variable } ) %>");

$('#variable_<%= @variable.id %>_grid_container .chzn-select').chosen({ allow_single_deselect: true });
$('#variable_<%= @variable.id %>_grid_container .timepicker').timepicker({ 'timeFormat': 'H:i:s' });
$('#variable_<%= @variable.id %>_grid_container .datepicker').datepicker({
  showOtherMonths: true,
  selectOtherMonths: true,
  changeMonth: true,
  changeYear: true
});
$("#ui-datepicker-div").hide();
{'fraction_non_alphanumeric': 0.19273984442523767, 'fraction_numerical': 0.0, 'mean_word_length': 7.330935251798561, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3091332', 'n_tokens_mistral': 379, 'n_tokens_neox': 364, 'n_words': 75}