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

  • 3.0.0

Source

Defined in src/Search/SearchPolicy.php at line 295