diff options
Diffstat (limited to 'src/dotnet-library')
-rw-r--r-- | src/dotnet-library/scala/compat/Platform.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotnet-library/scala/compat/Platform.scala b/src/dotnet-library/scala/compat/Platform.scala index 6125fbe575..44f0547707 100644 --- a/src/dotnet-library/scala/compat/Platform.scala +++ b/src/dotnet-library/scala/compat/Platform.scala @@ -50,11 +50,11 @@ object Platform { val EOL = System.Environment.NewLine - def currentTime: Long = 0 + def currentTime: Long = 0L /* // compiler crash :-( + private val baseTime = new System.DateTime(1970, 1, 1, 0, 0, 0) def currentTime: Long = { val nowTime = System.DateTime.UtcNow - val baseTime = new System.DateTime(1970, 1, 1, 0, 0, 0) (nowTime.Ticks - baseTime.Ticks) / 10000 } */ |