公告板
版本库
filestore
活动
搜索
登录
main
/
OlyMEBGProduct
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
客户人员更新逻辑修改
涂煌豪
2022-05-24
ce60f76f6347174fa510ac6be05daa87e821fd66
[OlyMEBGProduct.git]
/
force-app
/
main
/
default
/
aura
/
FormattedDate
/
FormattedDateController.js
1
2
3
4
5
6
7
({
valueChangeHandler
:
function
(
component
)
{
var
value
=
component
.
get
(
"v.value"
);
var
formattedValue
=
new
Date
(
value
).
toLocaleString
(
'en-US'
,
{
month
:
'short'
,
year
:
'numeric'
,
day
:
'numeric'
});
component
.
set
(
"v.formattedValue"
,
formattedValue
);
}
})