Sha256: 925e9f7d8b98ad0bd644178134f2fdb439c467ed09104aab32a889e2a8c1e160

Contents?: true

Size: 1.55 KB

Versions: 5

Compression:

Stored size: 1.55 KB

Contents

{:uriI"file:///Users/ilia/my_projects/sample_filter/lib/assets/javascripts/sample_filter/script.js?type=application/javascript&pipeline=self&id=69b1d1b3c2657b4c8369c00922e4663d033f6178c8e4663d0c3bf78fd3593b7c: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() {


  var dateString = '20.02.2016 09:30';
  var reggie = /(\d{2}).(\d{2}).(\d{4}) (\d{2}):(\d{2})/;
  var dateArray = reggie.exec(dateString);
  var dateObject = new Date(
      (+dateArray[3]),
      (+dateArray[2])-1,
      (+dateArray[1]),
      (+dateArray[4]),
      (+dateArray[5])
  );
  console.log(dateObject);

  $('.datepicker_input').datepicker({
    startDate: new Date('20.02.2016 09:30'),
    timepicker: true
  });
})
;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"%%	3n'[Zl.ؒ-1`_.J:lengthi:dependencies_digest"%!V;yCQO)e/|;.;:idI"E69b1d1b3c2657b4c8369c00922e4663d033f6178c8e4663d0c3bf78fd3593b7c;F:
mtimel+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/GW/gwsCIG1ovuyLpXhnmR4XQ9vh548ZeDwXi7fAVxZ8Ovk.cache
sample_filter-0.1.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/GW/gwsCIG1ovuyLpXhnmR4XQ9vh548ZeDwXi7fAVxZ8Ovk.cache
sample_filter-0.1.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/GW/gwsCIG1ovuyLpXhnmR4XQ9vh548ZeDwXi7fAVxZ8Ovk.cache
sample_filter-0.1.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/GW/gwsCIG1ovuyLpXhnmR4XQ9vh548ZeDwXi7fAVxZ8Ovk.cache
sample_filter-0.1.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/GW/gwsCIG1ovuyLpXhnmR4XQ9vh548ZeDwXi7fAVxZ8Ovk.cache