mirror of
https://github.com/Nezumi-2711/Foodify.git
synced 2026-09-22 20:00:50 +00:00
Fix value in string.xml and format date
This commit is contained in:
@@ -139,7 +139,7 @@ public class SignUpActivity extends AppCompatActivity {
|
||||
}
|
||||
|
||||
private void updateLabel(){
|
||||
String myFormat="MM/dd/yy";
|
||||
String myFormat="dd/MM/yyyy";
|
||||
SimpleDateFormat dateFormat=new SimpleDateFormat(myFormat, Locale.US);
|
||||
editText.setText(dateFormat.format(myCalendar.getTime()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user