GithubHelp home page GithubHelp logo

ddate's Introduction

PERPETUAL DATE CONVERTER FROM GREGORIAN TO POEE CALENDAR

SACRED DOCUMENT OF THE FROGS (old Erisian poem): 73 Days hath Chaos, Discord, Confusion, Bureaucracy, and Aftermath

THIS THING

This is exactly the same ddate version that can be found in the util-linux 2.20 release. It is here, because util-linux doesn’t build ddate by default anymore and at least the maintainer of the ArchLinux package seems happy to get rid of it. It is also available from the AUR.

BUILDING

mkdir build
cd build
cmake ..
make
make install  

SEASONS

Chaos
Patron Apostle Hung Mung
Discord
Patron Apostle Dr. Van Van Mojo
Confusion
Patron Apostle Sri Syadasti
Bureaucracy
Patron Apostle Zarathud
The Aftermath
Patron Apostle the Elder Malaclypse

DAYS OF THE WEEK

The DAYS OF THE WEEK are named from the five basic elements: SWEET, BOOM, PUNGENT, PRICKLE, and ORANGE.

  1. Sweetmorn
  2. Boomtime
  3. Pungenday
  4. Prickle-Prickle
  5. Setting Orange

HOLIDAYS

Apostle Holydays

  1. Mungday
  2. Mojoday
  3. Syaday
  4. Zaraday
  5. Maladay

Each occurs on the 5th day of the Season.

Seasons Holydays

  1. Chaoflux
  2. Discoflux
  3. Confuflux
  4. Bureflux
  5. Afflux

Each occurs on the 50th day of the Season.

Saint Tib’s Day

Occurs once every four years (1 + 4 = 5) and is inserted between the 59th and 60th days of the Season of Chaos.

THE YEAR

STBTPDPPSOSMBTPDPPSO
Jan1234512345ChsJul567894041424344Cfn
67891067891010111213144546474849
1112131415111213141515161718195051525354
1617181920161718192020212223245556575859
2122232425212223242525262728296061626364
2627282930262728293030311236566676869
3112343132333435Aug45678707172731Bcy
Feb56789363738394091011121323456
1011121314414243444514151617187891011
1516171819464748495019202122231213141516
2021222324515253545524252627281718192021
25262728* 15657585960Sep293031122223242526
Mar234566162636465345672728293031
78910116667686970891011123233343536
121314151671727312Dsc13141516173738394041
17181920213456718192021224243444546
22232425268910111223242526274748495051
27282930311314151617282930125253545556
Apr123451819202122Oct345675758596061
6789102324252627891011126263646566
1112131415282930313213141516176768697071
1617181920333435363718192021227273123Afm
21222324253839404142232425262745678
26272829304344454647282930311910111213
May123454849505152Nov234561415161718
678910535455565778910111920212223
1112131415585960616212131415162425262728
1617181920636465666717181920212930313233
2122232425686970717222232425263435363738
2627282930731234Cfn2728293013940414243
31123456789Dec234564445464748
Jun56789101112131478910114950515253
1011121314151617181912131415165455565758
1516171819202122232417181920215960616263
2021222324252627282922232425266465666768
2526272829303132333427282930316970717273
3012343536373839

[1970| = 3136|] [Next| St|. Tib’s| | Day| in| 3138|]

ddate's People

Contributors

bo0ts avatar congma avatar cpjhenry avatar danwdart avatar holzman avatar horazont avatar manover avatar miroatme avatar osirisslain avatar sangster avatar woodruffw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ddate's Issues

missing tag for version with cmake

Hi,

I'm just trying to create a specfile, and things would be easier if I could just get a tarball of the version with cmake. Would you mind adding a tag?

(reason not to use the overall download is that I want to be able to give a fixed version; I also tried to add the tag on my own and pull-request you, but github doesn't see tags alone as a good reason for a pull request)

cheers,
Jonas

Crashes on St. Tib's day

Well, okay, only with "invalid" format string, but this

ddate "+%}%{" 29 2 2012

creates an endless loop (or anything else resulting in tib_end < tib_start like %A%e).

suggestions:

in line 262:

if(tib_start>=0)    tib_end=i+1;

after the first loop, add a sanity check:

if (tib_end < tib_start) tib_end = tib_start + 1;

This will probably fix half of the only bug documented in the man page ;)

Issues in man ddate man page

`Dear ddate maintainer,
the manpage-l10n project maintains a large number of translations of
man pages both from a large variety of sources (including ddate) as
well for a large variety of target languages.

During their work translators notice different possible issues in the
original (english) man pages. Sometimes this is a straightforward
typo, sometimes a hard to read sentence, sometimes this is a
convention not held up and sometimes we simply do not understand the
original.

We use several distributions as sources and update regularly (at
least every 2 month). This means we are fairly recent (some
distributions like archlinux also update frequently) but might miss
the latest upstream version once in a while, so the error might be
already fixed. We apologize and ask you to close the issue immediately
if this should be the case, but given the huge volume of projects and
the very limited number of volunteers we are not able to double check
each and every issue.

Secondly we translators see the manpages in the neutral po format,
i.e. converted and harmonized, but not the original source (be it man,
groff, xml or other). So we cannot provide a true patch (where
possible), but only an approximation which you need to convert into
your source format.

Finally the issues I'm reporting have accumulated over time and are
not always discovered by me, so sometimes my description of the
problem my be a bit limited - do not hesitate to ask so we can clarify
them.

I'm now reporting the errors for your project. If future reports
should use another channel, please let me know.

Man page: ddate.1
Issue: B<date(1),> → B(1),
(sorry, github mangels the report here: move the (1), out of the bracket)

"If a format string is specified, the Discordian date will be printed in a "
"format specified by the string. This mechanism works similarly to the format "
"string mechanism of B<date(1),> only almost completely differently. The "
"fields are:"

Man page: ddate.1
Issue: B<ddate(1)> → B(1)
(sorry, github mangels the report here: move the (1) out of the bracket)

"B<ddate(1)> will produce undefined behavior if asked to produce the date for "
"St. Tib's day and its format string does not contain the St. Tib's Day "
"delimiters %{ and %}."

`

What is Discordian Dates?

It would be very helpful to have at least some mention in the top level README, Perhaps a introduction, that mentions... What the heck is a discordian date!
Basically someone just following links to here, has no idea what you are talking about, or what the project is for. A link to wikipedia (if it has something on it) would be adequate.

Feature Proposal: Neural Extensions for day names

Today is Sweetmorn (Time after Time, Catch a Wave), the 51st day of Chaos in the YOLD 3186

Just for fun, and since I got a bit bored of the five weekdays, I've created a set of 72 additional weekdays by feeding the five days into https://talktotransformer.com as a list. A version with this list is at FeepingCreature@7421de4 ; they start neat but go increasingly weird as the network loses track of what sort of thing the list is for.

Right now this is a hardcoded, hand-generated list. I'm thinking of regenerating them every season and sticking the file on a public webserver somewhere so there's a new random set of extended day names every time. If I don't get around to that though, I still wanted to bring the idea up. :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.