Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Why I can't use
Date.prototype.toLocaleDateString(loc)
to change the time place.For example, at my vscode ->
getDate(1481020142, "ko-KR")
output:2016. 12. 6.but when I test the case. output:2016-12-6
why ???
It seems
.toLocaleDateString
doesn' t work (Intl.DateTimeFormat.supportedLocalesOf
returns an empty array ) so I think it would be better to add yourformats
object in "Preload" section to let warriors use it. This way they'll be able to format output strings.May the Code be with you!
; ) )