diff options
author | Li Haoyi <haoyi@dropbox.com> | 2014-11-09 23:11:06 -0800 |
---|---|---|
committer | Li Haoyi <haoyi@dropbox.com> | 2014-11-09 23:11:06 -0800 |
commit | aaea4afbf3b47d623f396cb1eae247fa92053032 (patch) | |
tree | d462a508e545d5ec3637557b632cd0b7366e56cd /examples/crossBuilds/simple2/js/src/main/scala/simple/Platform.scala | |
parent | 52306f10ce3d1e462b171688de04b37174c0b74a (diff) | |
download | hands-on-scala-js-aaea4afbf3b47d623f396cb1eae247fa92053032.tar.gz hands-on-scala-js-aaea4afbf3b47d623f396cb1eae247fa92053032.tar.bz2 hands-on-scala-js-aaea4afbf3b47d623f396cb1eae247fa92053032.zip |
.
Diffstat (limited to 'examples/crossBuilds/simple2/js/src/main/scala/simple/Platform.scala')
-rw-r--r-- | examples/crossBuilds/simple2/js/src/main/scala/simple/Platform.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/crossBuilds/simple2/js/src/main/scala/simple/Platform.scala b/examples/crossBuilds/simple2/js/src/main/scala/simple/Platform.scala index 2a02a5e..42cc7dc 100644 --- a/examples/crossBuilds/simple2/js/src/main/scala/simple/Platform.scala +++ b/examples/crossBuilds/simple2/js/src/main/scala/simple/Platform.scala @@ -4,6 +4,6 @@ import scala.scalajs.js object Platform{ def format(ts: Long) = { - new js.Date(ts).toLocaleString() + new js.Date(ts).toISOString() } }
\ No newline at end of file |