mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-04 04:51:07 -08:00
Fixed Eclipse generating pointless warnings about facets
This commit is contained in:
parent
09985e30fe
commit
cd4014f86a
8 changed files with 23 additions and 22 deletions
|
|
@ -2,6 +2,7 @@ package io.anuke.mindustry;
|
|||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.Locale;
|
||||
|
||||
import com.badlogic.gdx.backends.android.AndroidApplication;
|
||||
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
|
||||
|
|
@ -18,7 +19,7 @@ public class AndroidLauncher extends AndroidApplication {
|
|||
config.useImmersiveMode = true;
|
||||
|
||||
SaveIO.setFormatProvider(new FormatProvider(){
|
||||
SimpleDateFormat format = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss");
|
||||
SimpleDateFormat format = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss", Locale.ENGLISH);
|
||||
|
||||
public String format(Date date){
|
||||
return format.format(date);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue