Closed manderson23 closed 10 years ago
Ok, it's important that we get the logic to look the same. There are two strings we use: long_parsed_date
and short_parsed_date
. I have three different implementations of it, so pick you favorite and please give it the exact same treatment in Java.
Python: https://github.com/samuelclay/NewsBlur/blob/master/utils/story_functions.py#L33-L59 Objective-C: https://github.com/samuelclay/NewsBlur/blob/master/clients/ios/Classes/Utilities.m#L167-L263 JavaScript: https://github.com/samuelclay/NewsBlur/blob/master/media/js/newsblur/models/stories.js#L36-L95
JavaScript is the newest one and is the one I recommend using as your reference.
Thanks Samuel.
After seeing this feature I added to the web I think it would be nice to have it in the Android app. Instead of our own preference we should just be able to use the system setting.