Skip to content

Instantly share code, notes, and snippets.

@ss23
Created December 11, 2013 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ss23/7906904 to your computer and use it in GitHub Desktop.
Save ss23/7906904 to your computer and use it in GitHub Desktop.
<?php
$datetime = new DatetimeField('TakesEffect', 'Time To Start Deal');
$datetime->getDateField()->setConfig('showcalendar', true);
$fields->replaceField('TakesEffect', $datetime);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment