Wednesday, 20 May 2009 22:44

I am pleased to present ddate for Joomla! Now you too can have the Discordian date displayed on your Joomla! website! This module allows for custom class suffix and custom output format, and mimics the Linux 'ddate' utility as close as possible (without the SubGenius options - sorry Bob).

Discordian Date Module is now available in the shop!

This particular module is licensed Kopyleft, so do whatever you want with it. I accept back links as compensation, though I don't expect it. Discordian Date Module is now licensed GNU/GPL as of version 0.2.

Custom Date String Options

%Aday name
%aabbreviated day
%Bfull season
%babbreviated season
%dordinal day ( i.e., 23 )
%ecardinal number of day i.e., 23rd
%Hname of holyday, if one
%yordinal year
%.ptang :D
%ttab
%nnewline
%{ 
%}everything inside these gets replaced on St. Tib's Day
%Non St. Tib's Day, everything after this is ignored

The file class/ddate.php can be imported into your own project for further use, or can be used via command line on systems that support php_cli. If you don't need the whole module, and just want the class, here it is:

Download ddate.php.zip

Last Updated on Monday, 07 December 2009 05:32
 

Add your comment

Your name:
Comment:
  The word for verification. Lowercase letters only with no spaces.
Word verification:

The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. Jeff Channell is not affiliated with or endorsed by Open Source Matters or the Joomla!® Project.

Santorum
Joomla Extensions