Why am I getting nil when formatting date in Swift

后端 未结 0 1495
无人共我
无人共我 2021-01-02 04:00

This is the function I\'m using for sanitizing the date, but\'s not working!

func sanitizeDate (_ dateString: String) -> String? {
        debugPrint(dateS         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题