From 11d7e18ccd5ff4f227b2b258b43014fac9bedcda Mon Sep 17 00:00:00 2001
From: Nezumi <123229563+Nez27@users.noreply.github.com>
Date: Wed, 8 Feb 2023 11:51:39 +0700
Subject: [PATCH] Fix value in string.xml and format date
---
.idea/deploymentTargetDropDown.xml | 17 +++++++++++++++++
.../com/capstone/foodify/SignUpActivity.java | 2 +-
app/src/main/res/values/strings.xml | 8 ++++----
3 files changed, 22 insertions(+), 5 deletions(-)
create mode 100644 .idea/deploymentTargetDropDown.xml
diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml
new file mode 100644
index 0000000..cfed20b
--- /dev/null
+++ b/.idea/deploymentTargetDropDown.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/java/com/capstone/foodify/SignUpActivity.java b/app/src/main/java/com/capstone/foodify/SignUpActivity.java
index b6e9fa4..1fdf8fc 100644
--- a/app/src/main/java/com/capstone/foodify/SignUpActivity.java
+++ b/app/src/main/java/com/capstone/foodify/SignUpActivity.java
@@ -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()));
}
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 0aeb360..bcd0851 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -16,9 +16,9 @@
xác nhận mật khẩu
Họ
Tên
- ngày sinh nhật (mm/dd/yyyy)
+ ngày tháng năm sinh
địa chỉ
- phone or email
- Forgot Password?
- Don\'t have an account?
+ số điện thoại hoặc email
+ quên mật khẩu?
+ Bạn chưa có tài khoản?
\ No newline at end of file