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

Add TIME type support for conditional operators to interpreter #390

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

Co9xs
Copy link
Contributor

@Co9xs Co9xs commented Dec 10, 2024

Supports TIME type in various Conditional operators.

Fastly VCL supports TIME type in Equal(=), Not equal(!=), Greater than(>), Less than(<), At least(>=), and At most(<=).

https://www.fastly.com/documentation/reference/vcl/operators/#conditional-operators

Copy link
Owner

@ysugimoto ysugimoto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great Job!
Once I implementated this, it's not be able to compare TIME type... but it can do now, thanks!

@ysugimoto ysugimoto merged commit aa78167 into ysugimoto:main Jan 28, 2025
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

Successfully merging this pull request may close these issues.

2 participants