Skip to main content

Filter: gk/gravityview/search/date/adjust-timezone

Whether to adjust the timezone for entries.

date_created is stored in UTC format. Convert search date into UTC (also used on templates/fields/date_created.php). This is for backward compatibility before \GF_Query started to automatically apply the timezone offset.

Parameters

NameTypeDescription
$adjust_tzboolWhether to use timezone-adjusted datetime. Default: false.
$contextstringWhere the filter is being called from.

Since

  • $ver$: $ver$

Source

Defined in includes/search/class-search-policy.php at line 294