• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: First day of week?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: First day of week?


  • Subject: Re: First day of week?
  • From: Fredrik Olsson <email@hidden>
  • Date: Thu, 3 Mar 2005 08:22:40 +0100

2005-03-02 kl. 23.28 skrev Óscar Morales Vivó:

IIRC iCal does its own thing.

Also IIRC Tiger might have something on those lines, but I sincerely don't remember (so please don't send any lawyer ninja my way. Not after what happened to the last ones).

So probably, Panther and before, letting the user choose is a good idea.

Letting the user override the default is a good idea, but any Swede goes red at the sight of Sundays first :). Many applications including the system preferences can do it, so it should not be impossible. But how?

regards
	Fredrik Olsson

Hope that helps.

On Mar 2, 2005, at 17:17 , Dustin Voss wrote:

On 2 Mar, 2005, at 12:26 PM, Fredrik Olsson wrote:

NSUserDefaults is good for getting locale specifics, but I can not find any way to get what day a week begins with with the selected locale. Enforcing Sundays or Mondays is a very stupid idea, letting the user choose is even worse :). Google have not been able to help me, maybe you can?

Well, it isn't Cocoa, but Java's java.util.Calendar class has a first-day-of-week method that seems to be locale-dependent.


But is it so bad to let the user choose? I myself like to consider that the week starts on Monday, and I set my preferences appropriately. Let it be up to the user. That's what iCal does.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: First day of week?
      • From: "Sean McBride" <email@hidden>
References: 
 >First day of week? (From: Fredrik Olsson <email@hidden>)
 >Re: First day of week? (From: Dustin Voss <email@hidden>)
 >Re: First day of week? (From: Óscar Morales Vivó <email@hidden>)

  • Prev by Date: Re: Preventing New Document on Open
  • Next by Date: Creating a JavaVM with JNI
  • Previous by thread: Re: First day of week?
  • Next by thread: Re: First day of week?
  • Index(es):
    • Date
    • Thread