Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Date column a DateTime objekt #6

Open
pavelkucera opened this issue Aug 30, 2010 · 0 comments
Open

Date column a DateTime objekt #6

pavelkucera opened this issue Aug 30, 2010 · 0 comments

Comments

@pavelkucera
Copy link

Když date sloupci předám objekt DateTime, vyhodí se notice "Object of class DateTime could not be converted to int"
Problém je v metodě DataGrid\Columns\DateColumn::formatContent()

Funkční řešení: obalit první dva řádky metody podmínkou !($value instanceof \DateTime)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant