Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1cf1413d

Přidáno uživatelem Tomáš Ballák před více než 4 roky(ů)

Feature Re #8184 ajax form

Zobrazit rozdíly:

website/src/Entity/DataSet.php
20 20
        return $this->time;
21 21
    }
22 22

  
23
    public function getFormattedTime() {
24
        return (strlen($this->time) <= 2) ? date('H:i', strtotime($this->time.':00')) : $this->time;
25
    }
26

  
23 27
    public function setDate($date) {
24 28
        $this->date = date('Y-m-d', strtotime($date));
25 29
    }

Také k dispozici: Unified diff