File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 77 </span >
88 <span class =" version-info" >
99 v{{ version }}
10- <span v-if =" buildHash" class =" build-hash" >
10+ <!-- < span v-if="buildHash" class="build-hash">
1111 (Build: {{ buildHash }})
12- </span >
12+ </span> -->
1313 <a
1414 href =" https://github.com/ShanghaitechGeekPie/coursebench-frontend/releases/latest"
1515 target =" _blank"
Original file line number Diff line number Diff line change @@ -258,6 +258,10 @@ export default {
258258 overflow : hidden ;
259259}
260260
261+ .router-container {
262+ margin : 0px 0.1rem ;
263+ }
264+
261265.router-container :hover {
262266 cursor : pointer ;
263267}
Original file line number Diff line number Diff line change 11function unixToReadable ( unix ) {
2- return new Date ( unix * 1000 ) . toISOString ( ) . slice ( 0 , 19 ) . replace ( 'T' , ' ' ) ;
2+ return new Date ( unix * 1000 ) . toLocaleString ( 'zh-CN' , {
3+ year : 'numeric' ,
4+ month : '2-digit' ,
5+ day : '2-digit' ,
6+ hour : '2-digit' ,
7+ minute : '2-digit' ,
8+ } ) ;
39}
410
511export { unixToReadable } ;
You can’t perform that action at this time.
0 commit comments