compared with
Current by Matthew Weier O'Phinney
on Aug 12, 2010 07:00.

This line was removed.
This word was removed. This word was added.
This line was added.

Changes (25)

View Page History
{info:title=New Proposal Template}
This page has been created from a template that uses "zones." To proceed:
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[{zone-template-instance:ZFPROP:Proposal Zone Template}

# Edit the page
# Replace sample content within each zone-data tag with your own content
# Remove this notice
# Save the page
# When you are ready for community review, move this page to the [Ready for Review] section on the edit page.

{note:title=No placeholders allowed!}
Please do not create placeholders. Wait until you have sufficient content to replace all sample data in the proposal template before creating your proposal document.

{zone-template-instance:ZFPROP:Proposal Zone Template}


The component is instantiated with a mind-link that ...
This filter accepts date input and will convert it to another date output. It can be used to simplify the date handling as it allows to convert a localized date into another localized date.

Describe some intermediate state of this component in terms of design notes, additional material added to this page, and / code. Note any significant dependencies here, such as, "Milestone #3 can not be completed until feature Foo has been added to ZF component XYZ." Milestones will be required for acceptance of future proposals. They are not hard, and many times you will only need to think of the first three below.
* Milestone 1: [design notes will be published here|]
* Milestone 2: Working prototype checked into the incubator supporting use cases #1, #2, ...
* Milestone 3: Working prototype checked into the incubator supporting use cases #3 and #4.
* Milestone 1: \[DONE\] Proposal finished
* Milestone 2: Proposal accepted
* Milestone 3: Coding finished
* Milestone 4: Unit tests exist, work, and are checked into SVN. finished
* Milestone 5: Initial documentation exists. Documentation finished

If a milestone is already done, begin the description with "\[DONE\]", like this:
* Milestone #: \[DONE\] Unit tests ...
* Milestone 6: Component moved to core

* Zend_Magic_Exception Zend_Filter_Date
* Zend_Magic (factory class)
* Zend_Magic_MindProbe
* Zend_Magic_MindProbe_Intent
* Zend_Magic_Action
* Zend_Magic_CodeGen

Convert automatically based on the locale
... (see good use cases book)
$filter = new Zend_Filter_Date();
print $filter->filter('10.August.2009 10:00:00');
// output could be: Aug 10, 2009 10:00 CET
Convert to a defined date format
$filter = new Zend_Filter_Date(Zend_Date::ISO_8601);
print $filter->filter('10.August.2009 10:00:00');
// output could be: 10.08.2009 10:00:00 CET
Convert to a manually defined date format
$filter = new Zend_Filter_Date('dd.MM.yy');
print $filter->filter('10.August.2009 10:00:00');
// output could be: 10.08.09

class Zend_Magic_Exception extends Zend_Exception {}
class Zend_Filter_Date {
* string $format Date format to use
public function __construct($format);

class Zend_Magic {
* Returns the set date format as string
* return $string
public function getFormat();
* Sets a new date format to filter to
* string $format Date format to use
public function setFormat($format);

* string|Zend_Date $input Date to filter
public function filter($input);