chore(legacy): format code
This commit is contained in:
parent
da52f495b4
commit
63d9e430e1
33 changed files with 111 additions and 102 deletions
|
@ -15,9 +15,9 @@ class CcBlock extends BaseCcBlock
|
|||
* @param string $format The date/time format string (either date()-style or strftime()-style).
|
||||
* If format is NULL, then the raw DateTime object will be returned.
|
||||
*
|
||||
* @throws propelException - if unable to parse/validate the date/time value
|
||||
*
|
||||
* @return mixed Formatted date/time value as string or DateTime object (if format is NULL), NULL if column is NULL
|
||||
*
|
||||
* @throws propelException - if unable to parse/validate the date/time value
|
||||
*/
|
||||
public function getDbUtime($format = 'Y-m-d H:i:s')
|
||||
{
|
||||
|
@ -48,9 +48,9 @@ class CcBlock extends BaseCcBlock
|
|||
* @param string $format The date/time format string (either date()-style or strftime()-style).
|
||||
* If format is NULL, then the raw DateTime object will be returned.
|
||||
*
|
||||
* @throws propelException - if unable to parse/validate the date/time value
|
||||
*
|
||||
* @return mixed Formatted date/time value as string or DateTime object (if format is NULL), NULL if column is NULL
|
||||
*
|
||||
* @throws propelException - if unable to parse/validate the date/time value
|
||||
*/
|
||||
public function getDbMtime($format = 'Y-m-d H:i:s')
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue