Commit fd450de7 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

fix: 修改首页年月日翻译样式

parent e3e08214
......@@ -75,7 +75,7 @@ const UserCenter: React.FC<Iprops> = (props) => {
{`Hi, ${userAuth?.company}! ${intl.formatMessage({ id: 'home.userCenter.wellcome' })}${GlobalConfig.global.siteInfo.name}`}
</div>
<div className={styles.date}>
{today.format(`YYYY[${intl.formatMessage({ id: 'home.userCenter.year' })}]MM[${intl.formatMessage({ id: 'home.userCenter.month' })}]DD[${intl.formatMessage({ id: 'home.userCenter.day' })}]`)} {intl.formatMessage({ id: `home.userCenter.day${today.day()}` })}
{today.format(`YYYY-MM-DD`)} {intl.formatMessage({ id: `home.userCenter.day${today.day()}` })}
</div>
</div>
<div className={styles.images}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment