fix: #258. format precision YYYYMMDD
This commit is contained in:
@@ -6,7 +6,11 @@
|
|||||||
</figure>
|
</figure>
|
||||||
<div class="flex justify-between items-center relative"
|
<div class="flex justify-between items-center relative"
|
||||||
v-show="showMember">
|
v-show="showMember">
|
||||||
<img id="acct_mgmt_button" src="@/assets/icon-head-black.svg" width="32" height="32"
|
<!-- TODO: 換成人頭按鈕 帳號管理功能 -->
|
||||||
|
<button id="logout_btn" class="btn btn-sm btn-neutral mr-2" @click.prevent="logOutButton">
|
||||||
|
Logout
|
||||||
|
</button>
|
||||||
|
<img v-show="false" id="acct_mgmt_button" src="@/assets/icon-head-black.svg" width="32" height="32"
|
||||||
class="cursor-pointer" @click="onAcctHeadClick"
|
class="cursor-pointer" @click="onAcctHeadClick"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -278,7 +278,7 @@ export const setTimeStringFormatBaseOnTimeDifference = (minTimeStamp, maxTimeSta
|
|||||||
} else if (timeDifferenceInSeconds < 2592000) { // 2592000 秒 = 30 天
|
} else if (timeDifferenceInSeconds < 2592000) { // 2592000 秒 = 30 天
|
||||||
dateFormat = 'YYYY/MM/DD'; // 天
|
dateFormat = 'YYYY/MM/DD'; // 天
|
||||||
} else {
|
} else {
|
||||||
dateFormat = 'YYYY/MM'; // 月
|
dateFormat = 'YYYY/MM/DD'; // 月
|
||||||
}
|
}
|
||||||
|
|
||||||
return dateFormat;
|
return dateFormat;
|
||||||
|
|||||||
Reference in New Issue
Block a user