diff --git a/core/modules/node/node.views.inc b/core/modules/node/node.views.inc
index 52608b72f895bbdcd420ed29d1298965fbd5bb55..b4b34ebd2adf118821f5eda533e2aa2c10e2b05c 100644
--- a/core/modules/node/node.views.inc
+++ b/core/modules/node/node.views.inc
@@ -286,7 +286,7 @@ function node_views_data() {
     ),
   );
 
-  $data['node_field_data']['date_year_month'] = array(
+  $data['node_field_data']['created_year_month'] = array(
     'title' => t('Created year + month'),
     'help' => t('Date in the form of YYYYMM.'),
     'argument' => array(
diff --git a/core/modules/views/config/views.view.archive.yml b/core/modules/views/config/views.view.archive.yml
index 500d412ca68155a4b9ba97a9bb0e27b8d8373bdd..cfd12cf4e79b41ec9459729bad0ca03e80b1203d 100644
--- a/core/modules/views/config/views.view.archive.yml
+++ b/core/modules/views/config/views.view.archive.yml
@@ -85,7 +85,7 @@ display:
             override: '1'
             items_per_page: '30'
           specify_validation: '1'
-          plugin_id: node_created_year_month
+          plugin_id: date_year_month
       filters:
         status:
           id: status
diff --git a/core/modules/views/lib/Drupal/views/Tests/DefaultViewsTest.php b/core/modules/views/lib/Drupal/views/Tests/DefaultViewsTest.php
index d5b51d88a5824c512450c1fc94484a6b8cda2e03..9cfdce9acf7661d779eb61f80d681f46022ef25e 100644
--- a/core/modules/views/lib/Drupal/views/Tests/DefaultViewsTest.php
+++ b/core/modules/views/lib/Drupal/views/Tests/DefaultViewsTest.php
@@ -14,7 +14,7 @@
 /**
  * Tests for views default views.
  */
-class DefaultViewsTest extends WebTestBase {
+class DefaultViewsTest extends ViewTestBase {
 
   /**
    * Modules to enable.
@@ -82,7 +82,7 @@ protected function setUp() {
     field_create_instance($this->instance);
 
     // Create a time in the past for the archive.
-    $time = time() - 3600;
+    $time = REQUEST_TIME - 3600;
 
     for ($i = 0; $i <= 10; $i++) {
       $user = $this->drupalCreateUser();
@@ -160,4 +160,55 @@ function createTerm($vocabulary) {
     return $term;
   }
 
+  /**
+   * Tests the archive view.
+   */
+  public function testArchiveView() {
+    // Create additional nodes compared to the one in the setup method.
+    // Create two nodes in the same month, and one in each following month.
+    $node = array(
+      'created' => 280299600, // Sun, 19 Nov 1978 05:00:00 GMT
+    );
+    $this->drupalCreateNode($node);
+    $this->drupalCreateNode($node);
+    $node = array(
+      'created' => 282891600, // Tue, 19 Dec 1978 05:00:00 GMT
+    );
+    $this->drupalCreateNode($node);
+    $node = array(
+      'created' => 285570000, // Fri, 19 Jan 1979 05:00:00 GMT
+    );
+    $this->drupalCreateNode($node);
+
+    $view = views_get_view('archive');
+    $view->setDisplay('page_1');
+    $this->executeView($view);
+    $column_map = drupal_map_assoc(array('nid', 'created_year_month', 'num_records'));
+    // Create time of additional nodes created in the setup method.
+    $created_year_month = date('Ym', REQUEST_TIME - 3600);
+    $expected_result = array(
+      array(
+        'nid' => 1,
+        'created_year_month' => $created_year_month,
+        'num_records' => 11,
+      ),
+      array(
+        'nid' => 15,
+        'created_year_month' => 197901,
+        'num_records' => 1,
+      ),
+      array(
+        'nid' => 14,
+        'created_year_month' => 197812,
+        'num_records' => 1,
+      ),
+      array(
+        'nid' => 12,
+        'created_year_month' => 197811,
+        'num_records' => 2,
+      ),
+    );
+    $this->assertIdenticalResultset($view, $expected_result, $column_map);
+  }
+
 }