Last active
April 14, 2017 06:02
-
-
Save corean/96e41b1ef334ba227c885efe93b39d8b to your computer and use it in GitHub Desktop.
날짜관련 daterange picker (jquery)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('input[name="daterange"]').daterangepicker({ | |
locale: { | |
format: 'YYYY-MM-DD', | |
"separator": " ~ ", | |
"daysOfWeek": ["일","월","화","수","목","금","토"], | |
"monthNames": ["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"] | |
}, | |
startDate: '{{ \Carbon\Carbon::now()->subMonths(1)->toDateString() }}', | |
endDate: '{{ \Carbon\Carbon::now()->toDateString() }}' | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment