Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transportation theme access restrictions "during" as STRUCT #229

Open
BruceHarold opened this issue Jun 28, 2024 Discussed in #228 · 1 comment
Open

Transportation theme access restrictions "during" as STRUCT #229

BruceHarold opened this issue Jun 28, 2024 Discussed in #228 · 1 comment

Comments

@BruceHarold
Copy link

BruceHarold commented Jun 28, 2024

Discussed in #228

Originally posted by BruceHarold June 28, 2024
At 2024-06-13-beta.1 the during column in access_restrictions is a varchar with uncontrolled data in it (my observation).
For example 'Mo-Fr08:45-09:3015:00-15:45'. for segment id 084194adffffffff046bf1ffa89acc2c.
To unpack this into very useful time intervals can it me made a struct, like this? (haven't checked for typos)
{"Mon":[["8:45","9:30"],["15:00","15:45"]],"Tue":[["8:45","9:30"],["15:00","15:45"]],"Wed":[["8:45","9:30"],["15:00","15:45"]],"Thu":[["8:45","9:30"],["15:00","15:45"]],"Fri":[["8:45","9:30"],["15:00","15:45"]]}
Time data is high value. Thanks.

@brad-richardson
Copy link
Contributor

Thanks for the feedback! I've commented on the discussion, let me know your thoughts.

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

No branches or pull requests

2 participants