From e354d3624354b39223b6929d52e8e5dc9acd3f13 Mon Sep 17 00:00:00 2001 From: xmcp Date: Sun, 24 Feb 2019 00:22:38 +0800 Subject: [PATCH] fix easter egg --- src/Title.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Title.js b/src/Title.js index b8c42f5..aaa6b66 100644 --- a/src/Title.js +++ b/src/Title.js @@ -154,7 +154,7 @@ class ControlBar extends PureComponent { export function Title(props) { let date=new Date(); - let is_eriri_birthday=date.getMonth()===3 && date.getDate()===20; + let is_eriri_birthday=(1+date.getMonth())===3 && date.getDate()===20; return (