fix a typo in Ox.URL
This commit is contained in:
parent
4097e70fa7
commit
978d44135a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue