release 0.4.0

* use Locale.getDefault() for the timetable screen
This commit is contained in:
Jannik 2019-04-01 10:14:00 +02:00
parent d645d75bbf
commit 8aaf8e3647
2 changed files with 3 additions and 3 deletions

View File

@ -12,8 +12,8 @@ android {
applicationId "org.mosad.seil0.projectlaogai"
minSdkVersion 21
targetSdkVersion 28
versionCode 11
versionName "0.4.0-rc1"
versionCode 12
versionName "0.4.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
resValue "string", "build_time", buildTime()
setProperty("archivesBaseName", "projectlaogai-$versionName")

View File

@ -62,7 +62,7 @@ class TimeTableFragment : Fragment() {
*/
private fun addWeeks() = doAsync {
val dayIndex = NotRetardedCalendar().getDayOfWeekIndex()
val formatter = SimpleDateFormat("E dd.MM", Locale.GERMANY) // TODO change to android call when min api is 24
val formatter = SimpleDateFormat("E dd.MM", Locale.getDefault()) // TODO change to android call when min api is 24
val calendar = Calendar.getInstance()
uiThread {