projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d73cedf
)
Roo/bootstrap/form/TimeField.js
author
leon
<leon@roojs.com>
Wed, 9 Aug 2023 07:01:28 +0000
(15:01 +0800)
committer
leon
<leon@roojs.com>
Wed, 9 Aug 2023 07:01:28 +0000
(15:01 +0800)
Roo/bootstrap/form/TimeField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/form/TimeField.js
b/Roo/bootstrap/form/TimeField.js
index
62568ff
..
2461129
100644
(file)
--- a/
Roo/bootstrap/form/TimeField.js
+++ b/
Roo/bootstrap/form/TimeField.js
@@
-440,7
+440,7
@@
Roo.extend(Roo.bootstrap.form.TimeField, Roo.bootstrap.form.Input, {
return (typeof(v) == 'undefined') ? false : v;
},
- translateTime : function(
dat
e)
+ translateTime : function(
tim
e)
{
switch(this.language) {
case 'zh_CN':
@@
-448,9
+448,9
@@
Roo.extend(Roo.bootstrap.form.TimeField, Roo.bootstrap.form.Input, {
hour : 'numeric',
minute : 'numeric',
hour12 : true
- }).format(
dat
e);
+ }).format(
tim
e);
default :
- return this.
formatDate(date
);
+ return this.
time.format(this.format
);
}
},