swift: dateformatter retun date 1 year ahead

后端 未结 0 553
不知归路
不知归路 2020-12-30 11:19

I have a function which I expect to return todays date. However it jumps the year ahead by 1. This only happens at the end of December. Can someone explain why this happens

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