magicalpanda / MagicalRecord

Super Awesome Easy Fetching for Core Data!
Other
10.8k stars 1.8k forks source link

Override DefaultDateFormat #1263

Open Double-Dude opened 7 years ago

Double-Dude commented 7 years ago

Can you provide a way to override the defaultDateFormat? Because our dateFormat is yyyyMMddHHmmss and if I want to do that, I have to write this every time in each coreDataObject Class. That's very inconvenience if you have like 50 objects. Also before using cocoa pod, we could just go to your code to change the default dateFormat. Since we start to use cocoa pod, every time we update the cocoa pod, the dateFormat will goes back to your one.

Cheers

Coeur commented 5 years ago

Well, if you know how to "just go to your code to change the default dateFormat", I'm sure that you can pull request a change to make it overridable. :)