Jump to content

AtkDateTimeAttribute

From NusaATK

Attribute: atkDateTimeAttribute

API docs | Flags

List of other attributes

atkDateTimeAttribute screenshot

Straight from the attribute file:

 atkDateTimeAttribute($name, $default_date="",$default_time="",$flags=0)

@param $name Name of the attribute
@param $default_date start date
@param $default_time start time
@param $flags Flags for this attribute

@todo I don't know who added the default_date and default_time parameters, but at least the atkDateAttribute doesn't support a default date. if you want to set a default date you should use initial_values anyways so I think the default_date / default_time parameters should be removed. But can we keep this backwards compatible somehow? At least now we are certain it doesn't work. ;) (PCV)