-
Notifications
You must be signed in to change notification settings - Fork 113
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
feat: implement function "today" #464
base: main
Are you sure you want to change the base?
Conversation
"github.com/linkall-labs/vanus/internal/primitive/transform/function" | ||
) | ||
|
||
// NewTodayAction ["today", "path", "timeZone"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the param path is target path ,it isn't an original path
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #464 +/- ##
==========================================
- Coverage 57.71% 57.26% -0.46%
==========================================
Files 180 186 +6
Lines 14614 15031 +417
==========================================
+ Hits 8434 8607 +173
- Misses 5552 5792 +240
- Partials 628 632 +4
Continue to review full report at Codecov.
|
@avinashb98 We have left some suggestions for you, please have a look. |
What problem does this PR solve?
Issue Number: close #462
Problem Summary
The function is used to get the current date(format: YYYY-MM-DD) in a specific TimeZone. And assign it to the target JSON path.
The Time Zone will be UTC if users don't specify it.
What is changed and how does it work?
today
Check List
Tests