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

make known sub-components available for parsing #2

Open
1 of 4 tasks
MoralCode opened this issue May 30, 2021 · 1 comment
Open
1 of 4 tasks

make known sub-components available for parsing #2

MoralCode opened this issue May 30, 2021 · 1 comment

Comments

@MoralCode
Copy link
Owner

MoralCode commented May 30, 2021

if a data source is already partially formatted,like this:

"hours": {
	"friday": "700AM-400PM",
	"monday": "700AM-400PM",
	"sunday": "Closed",
	"tuesday": "700AM-400PM",
	"saturday": "730AM-400PM",
	"thursday": "700AM-400PM",
	"wednesday": "700AM-600PM"
},

then it would be nice to be able to just parse the time range.

this should be straighforward as tweaking the internal API so its consistent with the public one and making a new release.

just leaving it here as a TODO

  • Times
  • Time (?)
  • Days
  • Day
@MoralCode
Copy link
Owner Author

can probably get away with not revealing the Time and Day classes cuz those are probably already handled by existing date and time parsers

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

1 participant