hasadna / Open-Knesset

A project aimed at making the Israeli Knesset more transparent. Python and Django based
http://oknesset.org/
BSD 3-Clause "New" or "Revised" License
106 stars 175 forks source link

Show when was the last date we updated the meeting page from the Knesset API #653

Open morchickit opened 8 years ago

morchickit commented 8 years ago

Another piece of information that I think is crucial for users to know and can explain how updated is the data

alonisser commented 8 years ago

@morchickit Perhaps some kind of icon and not an exact date (or both)?

morchickit commented 8 years ago

I think both would be helpful. On Apr 20, 2016 11:30 PM, "Alonisser" notifications@github.com wrote:

@morchickit https://github.com/morchickit Perhaps some kind of icon and not an exact date (or both)?

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/hasadna/Open-Knesset/issues/653#issuecomment-212638731

nivm commented 8 years ago

@morchickit Is that what you meant ?

The part about "עודכן ב"

screenshot from 2016-06-13 20 37 50

alonisser commented 8 years ago

@nivm thanks! where is the date actually from? is it when we inserted or protocol date?

nivm commented 8 years ago

@alonisser I have added a field for update time of the meeting.

The CommitteeMeeting model has 2 update dates. (protocol_text_update_date, protocol_parts_update_date). but the CommitteeMeeting can be updated by different operations like add-lobbyist, mk.

alonisser commented 8 years ago

@nivm That's what I suspected. But I'm not sure this is correct. @morchickit should say, what is the required "update date" here? a protocol update? (the latest from the two existing fields) or any change or update in the data, like adding an annotation, lobbyist, etc?

nivm commented 8 years ago

@morchickit - Can you please elaborate?

morchickit commented 8 years ago

No, not any type of the data, just when was the last protocol added to Oknesset

nivm commented 8 years ago

NP. I will update as soon as a pull request is available.