Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
eue
Commits
46c5e1a7
Commit
46c5e1a7
authored
Aug 02, 2021
by
Spark
Browse files
초-> 밀리세컨트
parent
0f1b5291
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/src/components/UserInfo.js
View file @
46c5e1a7
...
...
@@ -50,16 +50,16 @@ function UserInfo() {
const
btMs
=
endDate
.
getTime
()
-
stDate
.
getTime
()
// 주어진 날짜 사이의 경과 시간 (밀리 초)
const
btDay
=
btMs
/
(
1000
*
60
*
60
*
24
)
//
초
-> 일
const
btDay
=
btMs
/
(
1000
*
60
*
60
*
24
)
//
Ms
-> 일
setCreatedTime
(
btDay
)
}
})
},
[])
const
[
showState
,
setShowState
]
=
useState
(
''
)
const
[
localState
,
setLocalState
]
=
useState
([])
useEffect
(()
=>
{
// user-info 에서 loc_code
callUserInfo
().
then
((
res
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment