|
Cookbook /
EZLocaleDateSummary: make displaying the date and/or time with a non-English language inside the wiki easy
Version: 1.2
Prerequisites: none
Status: Working
Maintainer: JB
Categories: Markup
Downloads: EZLocaleDate.phpΔ
Questions answered by this recipe
DescriptionDisplay date or time with a non-English language in a wiki page. This is easier than using MoreCustomPageVariables. Syntax is easy. Use the form of page code like this: (:ezlocaledate formatting string:)
(:ezlocaletime formatting string:)
Default formatting code:Todays date is (:ezlocaledate:). The current time is (:ezlocaletime:).
will display like this: Todays date is April 2, 2007. The current time is 5:04:56.
Formatted code:(:ezlocaledate M j, Y h:i:s a:)
will display like this: Mar 30, 2007 11:55:01 pm
Note: ezlocaledate can display time and ezlocaletime can display the date! Date formatting information is available at url InstallingCopy EZLocaleDate.phpΔ to your cookbook directory In your config.php enter: include_once("cookbook/EZLocaleDate.php");
or in your farmconfig.php enter: include_once(" $FarmD/cookbook/EZLocaleDate.php");
NotesRelease NotesThis program is free software. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation http://www.fsf.org either version 2 of the License, or (at your option) any later version. Copyright 2007 by GNUZoo (guru@gnuzoo.org) Please donate to the author at url: http://gnuzoo.org/GNUZooPayPal
CommentsSee AlsoContributors |