From d866d43672b28a21cc92ffca6a9d071c9df1420f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C5=BDegklitz?= Date: Sat, 2 Apr 2022 18:21:30 +0200 Subject: [PATCH] Changed date format for file name. * Some underscores -> hyphens. --- app/build.gradle | 4 ++-- .../main/java/cz/zegkljan/videoreferee/utils/MediaUtils.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 424ceb8..7c99d3a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -36,8 +36,8 @@ android { compileSdkVersion 31 defaultConfig { applicationId "cz.zegkljan.videoreferee" - versionCode 5 - versionName "0.5.0-rc.1" + versionCode 6 + versionName "0.5.0-rc.2" minSdkVersion 24 targetSdkVersion 31 testInstrumentationRunner "android.test.InstrumentationTestRunner" diff --git a/app/src/main/java/cz/zegkljan/videoreferee/utils/MediaUtils.kt b/app/src/main/java/cz/zegkljan/videoreferee/utils/MediaUtils.kt index 239d89f..33cfbda 100644 --- a/app/src/main/java/cz/zegkljan/videoreferee/utils/MediaUtils.kt +++ b/app/src/main/java/cz/zegkljan/videoreferee/utils/MediaUtils.kt @@ -36,7 +36,7 @@ import java.io.FileOutputStream import java.text.SimpleDateFormat import java.util.* -val DATE_FORMAT = SimpleDateFormat("yyyy_MM_dd_HH_mm_ss_SSS", Locale.US) +val DATE_FORMAT = SimpleDateFormat("yyyy-MM-dd_HH-mm-ss_SSS", Locale.US) private const val TAG = "Files"