Skip to content

Instantly share code, notes, and snippets.

@OrhanOzyalcin
OrhanOzyalcin / daterangepicker.tr.js
Created March 15, 2023 10:31 — forked from yasinkuyu/daterangepicker.tr.js
Daterangepicker Turkish
//daterangepicker.js
$(function() {
function cb(start, end) {
$('#reportrange span').html(start.format('MMMM D') + ' - ' + end.format('MMMM D'));
}
cb(moment().subtract(29, 'days'), moment());
$('#reportrange').daterangepicker({