On Oct 28, 2016, at 03:05:06, Daniel Phillips <djp_phill...@me.com> wrote: > > When using NSDateFormatter for relative date formatting, I am getting the > localised word for today capitalised in some locales not not all. Is this > expected behaviour? I’ve tried to research this and it seems the word today > shouldn’t be capitalised (in English at least...) unless it’s used in a > title, if true, then is this a bug in NSDateFormatter?
I seriously doubt that the team used capitalized letters willy nilly when entering these terms. I'm sure they researched how these terms are used when they appear as a standalone relative date, not used in a sentence. If it bugs you, just run it through lowercaseString before you put it into your "Free until" string, although that would also convert AM/PM to lower if it's included, depending on the user's prefs. Personally, it doesn't bother me that the word "Today" gets the same treatment when used that way as do the names of the days of the week. Think of it as the virtual placeholder name for the referenced day. -- Steve Mills Drummer, Mac geek _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com