Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍용민
/
BusTime
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
이의준
2021-06-09 02:17:26 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ee28c11484538394611d1b82bb9a7736ab1c8539
ee28c114
1 parent
613a45f1
문법오류 수정
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
views/index.ejs
views/index.ejs
View file @
ee28c11
...
...
@@ -18,15 +18,15 @@
<h2>
버스별 시간표 조회
</h2>
<div
style=
"padding:0 0 0 20px;"
><script>
<%
var
date
=
new
Date
();
>
<%
var
yyyy
=
date
.
getFullYear
();
>
<%
var
mm1
=
date
.
getMonth
()
+
1
;
>
<%
var
dd
=
date
.
getDate
();
>
<%
var
hh
=
date
.
getHours
();
>
<%
var
mm2
=
date
.
getMinutes
();
>
<%
var
date
=
new
Date
();
%
>
<%
var
yyyy
=
date
.
getFullYear
();
%
>
<%
var
mm1
=
date
.
getMonth
()
+
1
;
%
>
<%
var
dd
=
date
.
getDate
();
%
>
<%
var
hh
=
date
.
getHours
();
%
>
<%
var
mm2
=
date
.
getMinutes
();
%
>
<%
document
.
write
(
yyyy
+
"년 "
+
mm1
+
"월 "
+
dd
+
"일 오늘 운행하는 버스들 "
);
>
<%
document
.
write
(
"( "
+
hh
+
"시 "
+
mm2
+
"분 기준 )"
);
>
<%
document
.
write
(
yyyy
+
"년 "
+
mm1
+
"월 "
+
dd
+
"일 오늘 운행하는 버스들 "
);
%
>
<%
document
.
write
(
"( "
+
hh
+
"시 "
+
mm2
+
"분 기준 )"
);
%
>
</script>
</div>
<ul>
...
...
Please
register
or
login
to post a comment