Sha256: cbdd046ae5b43568ec99c6c4e0de9538f935c69dfe01555a7ba1e8722171fd17
Contents?: true
Size: 1.64 KB
Versions: 5
Compression:
Stored size: 1.64 KB
Contents
{:uriI"file:///Users/ilia/my_projects/sample_filter/lib/assets/javascripts/sample_filter/script.js?type=application/javascript&pipeline=self&id=3b92558f62c64156ec47af9c6c739f06fe8bee6e5f261a157ac28ed6d6f02796: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"*$(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(a, b){ console.log(b); }); }) 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"%Qr3ހY9d\O@f -:lengthi*:dependencies_digest"%/N}w yod)#:idI"E3b92558f62c64156ec47af9c6c739f06fe8bee6e5f261a157ac28ed6d6f02796;F: mtimel+Y
Version data entries
5 entries across 5 versions & 1 rubygems