Skip to content

Commit

Permalink
fix: make month zero indexed???, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Dec 1, 2022
1 parent a43acc8 commit fe4f9ed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Advent of VSCode

<!--Makes it easier to comment out the icon for packaging-->
<img src="res/icon.svg" alt="Project Icon: A star with color gradient from the orange center over yellow to the yellow-lime tips" align=right width=128 height=128 />
<!---->

This extension is to provide access to [Advent of Code](https://adventofcode.com) Descriptions and Inputs directly in the IDEs [VSCode](https://code.visualstudio.com) and [VSCodium](https://vscodium.com).

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "advent-of-vscode",
"displayName": "Advent of VSCode",
"description": "",
"version": "0.1.0-alpha",
"version": "0.1.0",
"author": {
"name": "nobkd",
"url": "https://github.com/nobkd"
Expand Down
2 changes: 1 addition & 1 deletion src/views/selectDayView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function generateTree(): Tree[] {
const day: number = date.getDate();

const startYear: number = 2015;
const isDecember: boolean = month === 12;
const isDecember: boolean = month === 11; /// Month zero-indexed???
const puzzleDays: number = 25;

const yearCount: number = year - startYear;
Expand Down

0 comments on commit fe4f9ed

Please sign in to comment.