Skip to content

Commit

Permalink
Use 20xx/xx instead of 20xx/20xx
Browse files Browse the repository at this point in the history
  • Loading branch information
JosefSchoenberger committed Aug 23, 2023
1 parent 4460a79 commit dedfff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/ts/api/semesters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class Semester {
}

public FriendlyString(): string {
if (this.TeachingTerm === "W") return `Winter ${this.Year}/${this.Year + 1}`;
if (this.TeachingTerm === "W") return `Winter ${this.Year}/` + `this.Year + 1`.slice(-2);
else return `Summer ${this.Year}`;
}
}
Expand Down

0 comments on commit dedfff3

Please sign in to comment.