Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mån -> Mån ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
JJacobsson
n00b
n00b


Joined: 26 Oct 2003
Posts: 38

PostPosted: Mon Feb 09, 2004 12:37 pm    Post subject: mån -> Mån ? Reply with quote

Någon som vet om man kan få program (t.ex. date) att skriva ut "Mån" istället för "mån", "Feb" istället för "feb" osv. ?

Det borde ju gå tycker man, men jag lyckas inte hitta rätt ord att googla på...
_________________
//Joacim Jacobsson

- Cake or death?
- Cake please.
Back to top
View user's profile Send private message
andip
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2002
Posts: 115
Location: .no

PostPosted: Tue Feb 10, 2004 10:49 am    Post subject: Reply with quote

Heisan,

Skjønner ikke helt problemet ditt her??

date +%A gir meg Tuesday, ikke tuesday
date +&b gir meg Feb
date +%B gir meg February

og bare date gir meg :
Tue Feb 10 11:47:49 CET 2004
Back to top
View user's profile Send private message
JJacobsson
n00b
n00b


Joined: 26 Oct 2003
Posts: 38

PostPosted: Tue Feb 10, 2004 12:15 pm    Post subject: Reply with quote

Exempel:

Code:
falme root # LC_ALL="sv_SE" date
tis feb 10 13:11:44 CET 2004
falme root # LC_ALL="en_US" date
Tue Feb 10 13:12:31 CET 2004


I sv_SE fallet skulle jag vilja ha versaler... utan att behöva några argument... Jag skulle alltså vilja ändra på det som är default...

Och inte bara för programet "date", utan för sv_SE lokalen... tycker det borde gå, men jag vet inte hur man gör...
_________________
//Joacim Jacobsson

- Cake or death?
- Cake please.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4830
Location: Gothenburg, Sweden

PostPosted: Tue Feb 10, 2004 1:03 pm    Post subject: Reply with quote

Finns säkert ett bättre sätt, men du kan ju alltid testa att modifiera /usr/share/i18n/locales/sv_SE.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
JJacobsson
n00b
n00b


Joined: 26 Oct 2003
Posts: 38

PostPosted: Tue Feb 10, 2004 1:24 pm    Post subject: Reply with quote

Aha! Det var det jag var ute efter! Nu ska jag bara lista ut hur. :)
_________________
//Joacim Jacobsson

- Cake or death?
- Cake please.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum