Opened 13 years ago

Closed 13 years ago

#1904 closed Bug (wontfix)

Incorrect number formats in peer Blocklist preference window

Reported by: rfsmit Owned by: livings124
Priority: Lowest Milestone: None Set
Component: Mac Client Version: 1.51
Severity: Trivial Keywords: number date format blocklist preference
Cc:

Description

Window: Preferences -> Peers / Blocklist

NN.N IP address rules in list
Last updated: MM/DD/YY

  1. number of peers is given as a floating point number
  2. date format is always MM/DD/YY, not picked up from system preferences

(Mac v1.5.1 on OS X 10.4.11 PPC.)

Attachments (2)

rfsdateprefs.png (54.1 KB) - added by rfsmit 13 years ago.
Date preferences
rfstransmissionprefs.png (16.5 KB) - added by rfsmit 13 years ago.
Transmission pref window

Download all attachments as: .zip

Change History (10)

comment:1 follow-up: Changed 13 years ago by livings124

These values are displayed using standard api's for formatting based on system settings. Are you sure your system isn't set to display values like this?

comment:2 in reply to: ↑ 1 Changed 13 years ago by rfsmit

Replying to livings124:

These values are displayed using standard api's for formatting based on system settings. Are you sure your system isn't set to display values like this?

Absolutely certain. My system is set up to display dates in three formats:

  1. Long names: "Dayname, Monthname DD, YYYY"
  2. Abbreviated names: "DoW, Mmm DD, YYYY"
  3. ISO "YYYY-MM-DD"

I'm amused that you think someone would go to the trouble of filing a bug report for this if it were just a system preference setting! :-D I guess stranger things have happened!

Plus, I don't think we'll ever come across a case of a non-integer count of IPs :-)

comment:3 Changed 13 years ago by livings124

What language is your system set to? What language is the application using?

comment:4 follow-up: Changed 13 years ago by livings124

I just tested, and the date displayed is whatever is set for "Full" and the number displayed matches the format of the top right of the "numbers" box in system preferences-> international. (this is in Leopard but should be comparable on Tiger).

comment:5 in reply to: ↑ 4 Changed 13 years ago by rfsmit

Replying to livings124:

I haven't had chance to get back to my Mac just yet. Bear with me though -- from what you describe (should be "Full" date format) I'm further convinced this is a bug. As described above, my "full" date format is a proper long format -- nowhere have I set up "MM/DD/YY" as a date format in my system preferences. My system language is UK English, but with customizations (that shouldn't matter).

What do you see for the IP count? Integer, or floating point?

comment:6 follow-up: Changed 13 years ago by livings124

When you customize, there is a "Full" date format. Please, post what that is set to.

IP count is an integer, but your custom settings might make it look like a decimal - I can't know until you find out what it's set to.

Changed 13 years ago by rfsmit

Date preferences

Changed 13 years ago by rfsmit

Transmission pref window

comment:7 in reply to: ↑ 6 Changed 13 years ago by rfsmit

Replying to livings124:

When you customize, there is a "Full" date format. Please, post what that is set to.

IP count is an integer, but your custom settings might make it look like a decimal - I can't know until you find out what it's set to.

Okay, so I was guessing when I said what my date prefs were, but you got the idea, surely. Nowhere have I set MM/DD/YY as my date format. See attached screenshots. In summary:

Full: Dayname, Monthname D, YYYY
Long: Monthname D, YYYY
Medium: Mon D, YYYY
Short: YYYY-MM-DD

Language is "English" and only "English", but the install was from UK English media, which evidently makes a difference beyond what you can alter in System Prefs. E.g. MS Word defaulted to using A4 paper size. And if Transmission is picking this up, shouldn't the date default to DD/MM/YY anyway, rather than MM/DD/YY?

I often change my keyboard mapping between US English, US Extended, UK English, Hiragana, Romaji, and a customized keymapping based on the US Extended mapping.

comment:8 Changed 13 years ago by livings124

  • Resolution set to wontfix
  • Status changed from new to closed

I THINK I see the problem. From Apple's documentation:

For backwards binary compatibility, the default behavior for NSDateFormatter on Mac OS X version 10.4 is the v10.0 behavior. On Mac OS X version 10.5 and later, however, the default is the v10.4 behavior.

The solution is, on Tiger, to specify the 10.4 behavior. If there will be a 1.52, I will update the code to do this. But since, as of know, the next version will be 1.60 and Leopard-only, this isn't necessary. Closing for now, will reopen if there is going to be a Mac 1.52 version.

Note: See TracTickets for help on using tickets.