summaryrefslogblamecommitdiff
path: root/examples/crossBuilds/simple/library/js/src/main/scala/simple/Platform.scala
blob: 01919150f9933d3a27c3e2241df910c10f94b8b1 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                  
              
                 
 
                
                          
                                 
   
 
// library/js/src/main/scala/simple/Platform.scala
package simple
import scalajs.js

object Platform{
  def format(ts: Long) = {
    new js.Date(ts).toISOString()
  }
}