Android Format date with time zone

前端 未结 8 1350
被撕碎了的回忆
被撕碎了的回忆 2020-12-10 13:05

I need to format the date into a specific string.

I used SimpleDateFormat class to format the date using the pattern \"yyyy-MM-dd\'T\'HH:m

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-10 13:35

    What you can do is just add the ":" manually using substring(). I have faced this earlier and this solution works.

提交回复
热议问题