Sha256: 0a66698ab864f606c1264f6a3b89668f7bb6a79644a3d5a1df698a709f85964f

Contents?: true

Size: 1.65 KB

Versions: 5

Compression:

Stored size: 1.65 KB

Contents

{:uriI"Éfile:///Users/ilia/my_projects/sample_filter/lib/assets/javascripts/sample_filter/script.js?type=application/javascript&pipeline=self&id=40003fd575acac424b322b4bd38fd9ca3cd6ab4b49b96641828d5a2b347da62a:ET:load_pathI"A/Users/ilia/my_projects/sample_filter/lib/assets/javascripts;T:
filenameI"Y/Users/ilia/my_projects/sample_filter/lib/assets/javascripts/sample_filter/script.js;T:	nameI"sample_filter/script;T:logical_pathI"!sample_filter/script.self.js;T:content_typeI"application/javascript;T:sourceI"5$(document).ready(function() {

  console.log(parseFilterDate('20.02.2016 09:30'));

  $('.datepicker_input').datepicker({
    startDate: parseFilterDate('20.02.2016 09:30'),
    timepicker: true
  });

  $('.datepicker_input').each(function(i, el){
    $(el).data('datepicker');
  });
})


function parseFilterDate(date_string) {
  var reggie = /(\d{2}).(\d{2}).(\d{4}) (\d{2}):(\d{2})/;
  var dateArray = reggie.exec(date_string);
  return new Date(
    (+dateArray[3]),
    (+dateArray[2])-1,
    (+dateArray[1]),
    (+dateArray[4]),
    (+dateArray[5])
  );
}
;T:
metadata{:dependencieso:Set:
@hash}
I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"gfile-digest:///Users/ilia/my_projects/sample_filter/lib/assets/javascripts/sample_filter/script.js;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%\v~¿W^g&`ÄçÿôÇäV
þ g¬Áˆ¬JQœge:lengthi5:dependencies_digest"%áµH™ïœ8ÜII‚Güb·YÉP÷䦨_(.2Þ:idI"E40003fd575acac424b322b4bd38fd9ca3cd6ab4b49b96641828d5a2b347da62a;F:
mtimel+cûY

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sample_filter-0.1.4 spec/dummy/tmp/cache/assets/sprockets/v3.0/EI/eIfrZp6n31kKqfdEfTkwVdgcb4QwI_x4ogIcRJXyegw.cache
sample_filter-0.1.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/EI/eIfrZp6n31kKqfdEfTkwVdgcb4QwI_x4ogIcRJXyegw.cache
sample_filter-0.1.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/EI/eIfrZp6n31kKqfdEfTkwVdgcb4QwI_x4ogIcRJXyegw.cache
sample_filter-0.1.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/EI/eIfrZp6n31kKqfdEfTkwVdgcb4QwI_x4ogIcRJXyegw.cache
sample_filter-0.1.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/EI/eIfrZp6n31kKqfdEfTkwVdgcb4QwI_x4ogIcRJXyegw.cache