Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.

[Draft] 日常招新 #12

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/utils/titleConverter.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export const titleConverter = (title: string) => {
try {
const last = title.slice(4);
const abbr = ['S', 'C', 'A'];
const full = ['春招', '夏令营', '秋招'];
const abbr = ['S', 'C', 'A', 'O'];
const full = ['春招', '夏令营', '秋招', '日常招新'];
const i = abbr.indexOf(last);
if (i >= 0) {
return title.slice(0, 4) + full[i];
Expand Down