dayjs根据不同时区显示时间
1.npm安装
npm install dayjs --save
2.使用dayjs
<script>
import dayjs from 'dayjs';
import tz from 'dayjs/plugin/timezone';
import utc from 'dayjs/plugin/utc';
dayjs.extend(utc);
dayjs.extend(tz);
</script>
|
|
爱听歌的生菜 · 重要!落实中央一号文件最新部署→· 1 年前 · |
|
|
俊逸的香菇 · 膝盖内侧鼓包不痛不痒-西瓜视频搜索· 1 年前 · |
|
|
逼格高的感冒药 · 【依雯妮妮】(3D动漫vam)《香》第4集, ...· 1 年前 · |
|
|
失落的咖啡豆 · 伊能静携子畅游迪士尼 ...· 1 年前 · |
|
|
不拘小节的双杠 · 北京交通大学交通运输学院· 2 年前 · |