News for hackers. Stuff that matters.
Re:Posical, the Positivist Calendar for Python by jack-r-abbit on Friday April 18, 2014 @07:28PM (#7611863)
We need to be able to timestamp stuff still, right?

If the 28th of Bichat is 2014-13-28 and the 1st of Moses is 2015-01-01, how do we timestamp those "uncharted" festival days? Would they just be 2014-13-29 (and 2014-13-30 on leap year) but just not have a day of week name?

Re:Posical, the Positivist Calendar for Python by crux on Friday April 18, 2014 @07:31PM (#7611873)
Good question. In the library, intercalary days are just their own month. So it would just be 2015-14-1.
Re:Posical, the Positivist Calendar for Python by userbinator on Friday April 18, 2014 @09:20PM (#7612157)
In other words, there's actually a 14 month that either contains 1 or 2 days, both of which have no weekday associated with them?

I don't see how it would make things much easier, especially for timestamps in various date formats and date-input fields.

Re:Posical, the Positivist Calendar for Python by toyg on Saturday April 19, 2014 @03:56AM (#7612896)
Why? It's still three numeric digits. If anything, it would be much easier to calculate date validity. In Python:

  acceptable_days = range(1,29)
  if pickedMonth == 14:
     acceptable_days = [1];
     if isLeapYear(year): acceptable_days = [1,2]
     # any future hack will just go here 
  
  if pickedDay not in acceptable_days or pickedMonth > 14: 
     raise InvalidDateException()  

Compare this with anything we use today. Which code is simpler?
Re:Posical, the Positivist Calendar for Python by Avshalom on Friday April 18, 2014 @08:07PM (#7611963)
2015-00-00 2015-00-01

And making dates 0 indexed will make all the C-weenies happy.

Re:Posical, the Positivist Calendar for Python by notdonspaulding on Friday April 18, 2014 @11:31PM (#7612487)
Are you saying you'd put the extra days at the start of the first month of the year? Wouldn't that put you back to where the days are not consistently ordered based off their position in the month?
Re:Posical, the Positivist Calendar for Python by Avshalom on Saturday April 19, 2014 @03:52AM (#7612889)
The extra days don't advance the Sun-Sat cycle no matter where you put them. January 1 is essentially defined as Monday (or whatever).