Take the 2-minute tour ×
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.

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

1 Answer 1

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

 
discard

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.