The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Get Day of Week from date vpapaiya HP-UX 5 03-07-2008 04:47 PM
week number alisevA3 UNIX for Dummies Questions & Answers 2 10-31-2007 05:01 AM
Changing userID and Changing group and GID deal732 Shell Programming and Scripting 2 04-18-2007 11:09 AM
Every week one dir - How to redlotus72 UNIX for Dummies Questions & Answers 1 10-17-2006 04:54 AM
How to identify week-1 and week-2 csaha Shell Programming and Scripting 1 02-16-2006 05:24 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-28-2006
fowlerleftfoot fowlerleftfoot is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 2
Changing First Day Of The Week?

Hi All,
Our system is running on Solaris 8 and we are using US locale. By default the First Day Of Week is Sunday, is it possible for us to change it to Monday?
I have googled it but found very little of use.
THanks in advance.
  #2 (permalink)  
Old 08-28-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,800
You define a locale by creating and compiling a locale defintion file with localedef.
This is a discussion of the syntax of the file:
http://www.opengroup.org/onlinepubs/...ml#tag_005_003

I scanned the page and I do not see an example of different first day of the week.
What I would do is look for a localedef file for a locale with Monday as the first day of the week. Arabic may be a good choice. I really do not know. I suspect that the day-name order is changed, which will cause you pain elsewhere.

Anyway any and all locale changes for specialty locales are made with localedef.
  #3 (permalink)  
Old 08-28-2006
fowlerleftfoot fowlerleftfoot is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 2
Thanks for the response Jim, will try that.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0