Skip to content

Commit d5a0dd1

Browse files
authored
fix:issue 1043 (#1044)
change 12-hours based date format to 24-hours . https://developer.android.com/reference/kotlin/java/text/SimpleDateFormat#format
1 parent 2747826 commit d5a0dd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/amplify_storage_s3/android/src/main/kotlin/com/amazonaws/amplify/amplify_storage_s3/AmplifyStorageOperations.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ class AmplifyStorageOperations {
158158
}
159159

160160
private fun prepareListResponse(@NonNull flutterResult: MethodChannel.Result, result: StorageListResult) {
161-
val spf = SimpleDateFormat("yyyy-MM-dd hh:mm:ss")
161+
val spf = SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
162162
val storageItemList: ArrayList<Map<String, Any>> = arrayListOf()
163163
for (item in result.items) {
164164
val storageItemMap: Map<String, Any> = mapOf(

0 commit comments

Comments
 (0)