Merge pull request #353 from shikorism/fix/csv-export-date-format

CSVエクスポートの日付書式が仕様と違っていた
This commit is contained in:
shibafu 2020-05-21 22:32:37 +09:00 committed by GitHub
commit 15c462449f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ class CheckinCsvExporter
->chunk(1000, function ($ejaculations) use ($csv) { ->chunk(1000, function ($ejaculations) use ($csv) {
foreach ($ejaculations as $ejaculation) { foreach ($ejaculations as $ejaculation) {
$record = [ $record = [
$ejaculation->ejaculated_date->format('Y-m-d H:i'), $ejaculation->ejaculated_date->format('Y/m/d H:i'),
$ejaculation->note, $ejaculation->note,
$ejaculation->link, $ejaculation->link,
]; ];