Skip to content

Commit 35294d5

Browse files
committed
Use datestamp in info file.
1 parent ae66b1c commit 35294d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Writer/Drupal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected function formatInfo($version, $timestamp)
5757
5858
# Information added by drupal-composer/info-rewrite on $date.
5959
version: '$version'
60-
timestamp: $timestamp
60+
datestamp: $timestamp
6161
EOL;
6262
return $info;
6363
}

tests/DrupalInfoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function testInstallOperationWriteInfoFiles()
112112
$info = <<<EOL
113113
# Information added by drupal-composer/info-rewrite on 2009-02-13T23:31:30+00:00.
114114
version: 'foo-x+5'
115-
timestamp: 123
115+
datestamp: 123
116116
EOL;
117117

118118
foreach ($files as $file) {

0 commit comments

Comments
 (0)