Skip to content

Commit

Permalink
fix supporting new year
Browse files Browse the repository at this point in the history
  • Loading branch information
TakeAsh committed Dec 25, 2016
1 parent 948d68e commit acd8dd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GoogleCalendarButton.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name Google Calendar Button on Abema.tv
// @namespace http://www.TakeAsh.net/
// @version 0.1.201612231600
// @version 0.1.201612251700
// @description Add Abema.tv program to Google Calendar
// @author TakeAsh
// @match https://abema.tv/channels/*
Expand Down Expand Up @@ -48,6 +48,7 @@
date = m[2];
if (month < nowMonth) {
++year;
nowMonth = month;
}
}
if ((m = regTime.exec(t))) {
Expand Down

0 comments on commit acd8dd7

Please sign in to comment.