修复一处样式

master
宇天 2021-11-30 18:55:38 +08:00
parent 0d35f290b7
commit a1f5e065b4
3 changed files with 7 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{
"name": "bash-calendar",
"description": "终端版万年历",
"version": "1.0.0",
"version": "1.0.1",
"author": "yutent <yutent.io@gmail.com>",
"bin": {
"calendar": "index.js",

View File

@ -95,7 +95,7 @@ function drawThead(year, month) {
var dateStr = `${year}${month + 1}${' '.repeat(10)}${getHSEBYear(year, month)}`
dateStr =
chalk.grey('| ') + chalk.cyan(dateStr) + ' '.repeat(75 - dateStr.length - 2) + chalk.grey('|')
chalk.grey('| ') + chalk.cyan(dateStr) + ' '.repeat(71 - dateStr.length - 2) + chalk.grey('|')
console.log(chalk.grey(' ' + '_'.repeat(76)))
console.log(chalk.grey('|' + ' '.repeat(76) + '|'))