@devosc , good idea, you could add a check for int:

```php
public function extract($value) {
    if (is_int($value)) {
        $timestamp = $value;
        $value         = new DateTime();
        $value->setTimestamp($timestamp);
   }
}
```