forked from 0x2620/oxjs
fix find
This commit is contained in:
parent
ab789fcfb4
commit
6a9b60ddca
2 changed files with 4 additions and 2 deletions
|
|
@ -252,6 +252,8 @@ Ox.makeDate <f> Takes a date, number or string, returns a date
|
|||
'1970'
|
||||
> Ox.formatDate(Ox.makeDate('1970-05'), '%Y-%m')
|
||||
'1970-05'
|
||||
> Ox.formatDate(Ox.makeDate(Ox.parseDate('-50')), '%Y')
|
||||
'-50'
|
||||
@*/
|
||||
Ox.makeDate = function(date) {
|
||||
// Safari 4/5 (<= 534.59.10) doesn't parse YYYY, YYYY-MM or YYYY-MM-DD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue