Completed
Pull Request — master (#105)
by
unknown
02:05
created

DatetimeHandler::getDateFormat()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
nc 1
cc 1
eloc 2
nop 0
1
<?php
2
3
namespace Drupal\Driver\Fields\Drupal7;
4
5
/**
6
 * Datetime field handler for Drupal 7.
7
 */
8
class DatetimeHandler extends AbstractDateHandler {
9
10
  /**
11
   * {@inheritdoc}
12
   */
13
  protected function getDateFormat() {
14
    return 'Y-m-d h:m:s';
15
  }
16
17
}
18