This file contains hidden or 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
/** | |
* A very simple class for some basic Date operations | |
* @author Felipe Lavín <www.yukei.net> | |
*/ | |
var dateHelper = { | |
arrToDate : function(arr, format){ | |
/** | |
* Convert an array to a Date object | |
* @argument arr {Array} An array containing at least day-month-year | |
* @argument format {String} An string representation of the date format. Default: dd-mm-yyyy. More could be added as necessary |
NewerOlder