fix a typo in Ox.URL

This commit is contained in:
rolux 2013-03-03 11:02:44 +00:00
parent 4097e70fa7
commit 978d44135a

View file

@ -902,7 +902,7 @@ Ox.URL = function(options) {
} else if (type == 'integer') { } else if (type == 'integer') {
value = Math.round(str) || 0; value = Math.round(str) || 0;
} else if (type == 'time') { } else if (type == 'time') {
value = Ox.formatDurarion(Ox.parseDuration(value)); value = Ox.formatDuration(Ox.parseDuration(value));
} else if (type == 'year') { } else if (type == 'year') {
value = Math.round(str) || 1970; value = Math.round(str) || 1970;
} }