Ask Your Question

How to Set Week to Start on Saturday?

asked 2018-02-22 10:19:10 +0000

hms10 gravatar image

updated 2018-03-01 21:33:43 +0000

How to Set Week to Start on Saturday? The problem is if I choose Arabic format, numbers will be in Arabic and I want numbers to be in English

Here is my configuration







edit retag flag offensive close merge delete


Please do try to provide more context when posting questions. It’s unclear what your current configuration is, and what you want the end result to be.

Aeyoun ( 2018-02-28 21:11:49 +0000 )edit

2 answers

Sort by » oldest newest most voted

answered 2018-02-28 21:11:01 +0000

You want to learn a little bit about glibc locale variables. Then you’ll probably want to edit /etc/locale.conf to contain: LC_DATE=en_US.UTF-8 and LC_NUMERIC=en_US.UTF-8.

edit flag offensive delete link more


This made the week started in Sunday. I need the calendar to start on Saturday

hms10 ( 2018-03-01 21:32:08 +0000 )edit

@hms10 my apoloogies, I read that as Sunday and not Saturday. I’m not sure which locales start on Saturday. You’ll have to look into that, or maybe create your own locale (documentation for that in the above link).

Aeyoun ( 2018-03-01 22:43:19 +0000 )edit

answered 2018-03-01 22:03:13 +0000

sideburns gravatar image

I took a look at the page referenced above, and checked the definitions for LCTIME. It says that firstweekday defaults to 1, for Sunday and first_workday to 2, for Monday. You may need to comment out those definitions (for safety) and change them to 7 and 1 respectively. Alas, I don't think that this would survive an update to the file (I've had that issue with other packages, so I know what it's like.) but if it works, it would at least show us that we're heading in the right direction.

edit flag offensive delete link more



This refers to the files in the localedata/locales directory found in the glibc source code. The git repository can be found here:

git clone git://sourceware.org/git/glibc.git
villykruse ( 2018-03-02 06:01:47 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

1 follower


Asked: 2018-02-22 10:19:10 +0000

Seen: 62 times

Last updated: Mar 01