public-transport/friendly-public-transport-format

indicating information up-to-dateness

Open

#43 opened on Jul 27, 2018

View on GitHub
 (6 comments) (1 reaction) (0 assignees) (3 forks)github user discovery
breaking-changedesignenhancementhelp wanted

Repository metrics

Stars
 (139 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I think it would make sense to introduce an attribute to FPTF@2 objects that indicates the up-to-dateness of the given information. This would enable us (e.g.) to provide a combination of static and realtime data in FPTF (where more up-to-date information overwrites older information).

Such an attribute could for example be called asOf, effective or updated and would contain a date string. It could also be required since this information is basically almost always available, as far as I know?

Opinions?

Contributor guide