constant LOCALE_TRANSLATION_TIMESTAMP_THRESHOLD

Threshold for timestamp comparison.

Eliminates a difference between the download time and the actual .po file timestamp in seconds. The download time is stored in the database in {locale_file}.timestamp.

1 use of LOCALE_TRANSLATION_TIMESTAMP_THRESHOLD
_locale_translation_source_compare in drupal/core/modules/locale/locale.compare.inc
Compare two update sources, looking for the newer one.

File

drupal/core/modules/locale/locale.compare.inc, line 15
The API for comparing project translation status with available translation.

Code

const LOCALE_TRANSLATION_TIMESTAMP_THRESHOLD = 2;