:param separator: Allows to customize the separator used for storage (default ``,``) :param kwargs: Keyword arguments passed into the parent :class:`~mongoengine.StringField`
(self, separator=",", **kwargs)
| 632 | """ |
| 633 | |
| 634 | def __init__(self, separator=",", **kwargs): |
| 635 | """ |
| 636 | :param separator: Allows to customize the separator used for storage (default ``,``) |
| 637 | :param kwargs: Keyword arguments passed into the parent :class:`~mongoengine.StringField` |
| 638 | """ |
| 639 | self.separator = separator |
| 640 | self.format = separator.join(["%Y", "%m", "%d", "%H", "%M", "%S", "%f"]) |
| 641 | super().__init__(**kwargs) |
| 642 | |
| 643 | def _convert_from_datetime(self, val): |
| 644 | """ |