Toggle navigation
Toggle navigation
This project
Loading...
Sign in
teamPARK
/
holiday-counter-recommend-activity
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박종현
2022-06-05 16:01:43 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fbd85d4675dc8e504bbf74011f0c3e00ed379efa
fbd85d46
1 parent
f5bdd059
Update 0601 info
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
nodejs/server.js
nodejs/views/data.ejs
nodejs/server.js
View file @
fbd85d4
...
...
@@ -36,7 +36,7 @@ function getTodayDate() {
var
month
=
(
"0"
+
(
today
.
getMonth
()
+
1
)).
slice
(
-
2
);
var
day
=
(
"0"
+
today
.
getDate
()).
slice
(
-
2
);
var
dateString
=
year
+
"-"
+
month
+
"-"
+
day
;
return
"202
3-05-27
"
;
// 테스트용 날짜를 입력하세요. *** 테스트가 끝나면 주석처리하고 커밋해주세요. *** ex) 2022-09-12, 2022-09-15, 2022-10-04
return
"202
2-06-01
"
;
// 테스트용 날짜를 입력하세요. *** 테스트가 끝나면 주석처리하고 커밋해주세요. *** ex) 2022-09-12, 2022-09-15, 2022-10-04
//return dateString;
}
...
...
nodejs/views/data.ejs
View file @
fbd85d4
...
...
@@ -159,8 +159,7 @@
<br>
</div>
<div
class=
"frame"
>
<button
class=
"custom-btn btn-12"
href=
""
><span>
click!
</span><span>
내 주변z 투표소
찾기!
</span></button>
<button
class=
"custom-btn btn-12"
onclick=
"location.href='https://si.nec.go.kr' "
><span>
click!
</span><span>
내 주변 투표소 찾기
</span></button></span></button>
</div>
<
% } else if (data[1]=='20220606' ) { %>
...
...
Please
register
or
login
to post a comment