From b3f846ed1660dd501ed4d94ec87e3f31f5ff29fc Mon Sep 17 00:00:00 2001 From: Karlatemp Date: Mon, 22 Jun 2020 12:30:36 +0800 Subject: [PATCH] Update auto-fill --- backend/mirai-console/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/mirai-console/build.gradle.kts b/backend/mirai-console/build.gradle.kts index 94a66ed5e..c04b32633 100644 --- a/backend/mirai-console/build.gradle.kts +++ b/backend/mirai-console/build.gradle.kts @@ -85,7 +85,7 @@ tasks { file.writeText(file.readText() .replace(Regex("""val buildDate: Date = Date\((.*)\) //(.*)""")) { """ - val buildDate: Date = Date(${System.currentTimeMillis()}) // ${SimpleDateFormat("yyyy-MM-dd HH:mm:ss").apply { + val buildDate: Date = Date(${System.currentTimeMillis()}L) // ${SimpleDateFormat("yyyy-MM-dd HH:mm:ss").apply { timeZone = TimeZone.getTimeZone("GMT+8") }.format(Date())} """.trimIndent()