summaryrefslogtreecommitdiff
path: root/app/Model/File.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/File.php')
-rw-r--r--app/Model/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/File.php b/app/Model/File.php
index be62cdb3..46fc4bb9 100644
--- a/app/Model/File.php
+++ b/app/Model/File.php
@@ -308,7 +308,7 @@ class File extends Base
*/
public function uploadScreenshot($project_id, $task_id, $blob)
{
- $original_filename = e('Screenshot taken %s', dt('%B %e, %Y at %k:%M %p', time())).'.png';
+ $original_filename = e('Screenshot taken %s', $this->helper->dt->datetime(time())).'.png';
return $this->uploadContent($project_id, $task_id, $original_filename, $blob);
}