Toggle navigation
Toggle navigation
This project
Loading...
Sign in
黄涛
/
yoho-checkin
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
2018-11-30 17:26:14 +0800
Commit
c8da1e923306d5a8b03ccdc463f40c38340d11d4
1 parent
2811f3d5
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
task/holiday.js
task/holiday.js
View file @
c8da1e9
...
...
@@ -16,7 +16,7 @@ async function getWorkday(date) {
const
now
=
new
Date
();
const
n
=
now
.
getDay
();
if
([
0
,
1
].
includes
(
n
))
{
if
([
0
,
6
].
includes
(
n
))
{
return
resolve
({
data
:
{
shouldWork
:
'N'
...
...
Please
register
or
login
to post a comment