Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wonder if it is possible to create a locale definition that would make the C library format the dates according to the French republican calendar.

I expect then, for example, run `date' and get something like "Sex Bru 5 11:43:51 CET 2012".

share|improve this question
Maybe strftime(3) would help – warl0ck Oct 27 '12 at 10:20
@warl0ck I checked man 3 strftime, and I failed to see any reference to the French Republican calendar. Could you elaborate? – augustin Feb 11 at 9:18

No, the calendar is not something that may be customised with locales.

There's a perl DateTime calendar module for the French Revolutionary Calendar though.

$ perl -MDateTime::Calendar::FrenchRevolutionary -le 'print DateTime::Calendar::FrenchRevolutionary->now->strftime("%c")'
Sex 06 Bru 0221 6:97:80
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.