Fixes in dates
This commit is contained in:
parent
c873d10b49
commit
92af207e31
3 changed files with 19 additions and 1 deletions
|
|
@ -60,6 +60,12 @@ class DateField extends PhangoField {
|
|||
$value=PhaTime\DateTime::local_to_gmt( $new_timestamp );
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
$value=PhaTime\DateTime::now();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
else if(strpos($value, '-')!==false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue