Commit f1903119 authored by bryrock's avatar bryrock Committed by DamienMcKenna

Issue #2947219 by bryrock, PhilY, Alex Andrascu: Timestamp no more uses site timezone.

parent a5447b09
......@@ -4,6 +4,7 @@ Backup and Migrate 8.x-4.x-dev, xxxx-xx-xx
#3041404 by DamienMcKenna: Add CHANGELOG.txt.
#2947276 by liliancatanoi90, rajeshwari10, minakshiPh, Elaman, emartoni,
DamienMcKenna, alonaoneill: Missing module help.
#2947219 by bryrock, PhilY, Alex Andrascu: Timestamp no more uses site timezone.
Backup and Migrate 8.x-4.0, 2018-03-29
......
......@@ -111,7 +111,7 @@ class FileNamer extends PluginBase implements FileProcessorInterface {
$name = $this->confGet('filename');
}
if ($this->confGet('timestamp')) {
$name .= '-' . gmdate($this->confGet('timestamp_format'));
$name .= '-' . date($this->confGet('timestamp_format'));
}
$file->setName($name);
return $file;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment