Projekt

Obecné

Profil

« Předchozí | Další » 

Revize d6d75a03

Přidáno uživatelem Petr Hlaváč před asi 4 roky(ů)

Date format reworked for new datepicker

Zobrazit rozdíly:

modules/crawler/Utilities/Database/DatabaseLoader.py
68 68
        database_data_line = DatabaseDataLine.DatabaseDataLine(
69 69
            name, devices[name]["x"], devices[name]["y"], date, occurrence)
70 70

  
71
        # if you want to change table split by hours or months change this
72
        date_without_hours = date[:-2]
71
        # if you want to change table split by hours or months change this YYYY-mm-hh-dd
72
        date_without_hours = date[:-3]
73 73
        if date_without_hours not in date_dict:
74 74
            date_dict[date_without_hours] = list()
75 75

  

Také k dispozici: Unified diff