This commit is contained in:
14Sandee
2023-12-05 20:59:29 +05:30
parent a45e2aabf4
commit fd7257ee12
3 changed files with 14 additions and 2 deletions

View File

@@ -1,6 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetDropDown">
<targetSelectedWithDropDown>
<Target>
<type value="QUICK_BOOT_TARGET" />
<deviceKey>
<Key>
<type value="VIRTUAL_DEVICE_PATH" />
<value value="$USER_HOME$/.android/avd/Pixel_7_Pro_API_33.avd" />
</Key>
</deviceKey>
</Target>
</targetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2023-12-05T11:34:20.505603Z" />
<targetsSelectedWithDialog>
<Target>
<type value="QUICK_BOOT_TARGET" />

View File

@@ -102,7 +102,7 @@ public class ArticlesAdapter extends ListAdapter<ArticleResult, ArticlesAdapter.
Date date = format.parse(articleResult.created_at);
if (date == null) throw new Exception();
SimpleDateFormat pretty_format = new SimpleDateFormat("dd MMM yy, HH:mm a", Locale.getDefault());
SimpleDateFormat pretty_format = new SimpleDateFormat("dd MMM yy, hh:mm a", Locale.getDefault());
String time = pretty_format.format(date);
binding.createdAt.setText(time);

View File

@@ -316,7 +316,7 @@ public class CgDashBoardFragment extends Fragment implements
Date date = format.parse(articleResult.created_at);
if (date == null) throw new Exception();
SimpleDateFormat pretty_format = new SimpleDateFormat("dd MMM yy, HH:mm a", Locale.getDefault());
SimpleDateFormat pretty_format = new SimpleDateFormat("dd MMM yy, hh:mm a", Locale.getDefault());
String time = pretty_format.format(date);
binding.articleCreatedAt.setText(time);