Skip to content

fix #14 #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 8 additions & 13 deletions dist/jquery.date-dropdowns.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* jQuery Date Dropdowns - v1.0.0
* A simple, customisable date select plugin
*
* Made by Chris Brown
* Under MIT License
*/
;(function ($, window, document, undefined) {

'use strict';
Expand All @@ -26,7 +19,9 @@
daySuffixes: true,
monthSuffixes: true,
monthFormat: 'long',
required: false
required: false,
monthShort: ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'],
monthLong: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Augosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre']
};

// The actual plugin constructor
Expand All @@ -43,9 +38,9 @@
}

Plugin.message = {
day: 'Day',
month: 'Month',
year: 'Year'
day: 'Día',
month: 'Mes',
year: 'Año'
};

// Avoid Plugin.prototype conflicts
Expand Down Expand Up @@ -87,8 +82,8 @@
this.internals.currentDay = date.getDate();
this.internals.currentMonth = date.getMonth() + 1;
this.internals.currentYear = date.getFullYear();
this.internals.monthShort = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
this.internals.monthLong = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
this.internals.monthShort = this.config.monthShort,
this.internals.monthLong = this.config.monthLong
},

/**
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.date-dropdowns.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading