Function __global->normalise_time_array
Definitions
sources/calendar.php
- For a time array that may have out-of-range components (in cms_mktime order except without seconds), adjust them so they are in range by rolling other components over as appropriate.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$arr | array | required parameter | N/A | N/A | Array of components |
$zone | ID_TEXT | required parameter | N/A | N/A | The timezone the components are in (this is important as DST-rollovers will vary, so we need to know this to interpret things correctly) |
Return
- Adjusted components
- Type: array
- Set: N/A
- Range: N/A