-
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
[Good First Issues]: implement function "today" - 4 points #462
Comments
Looking for a new person to contribute to this issue. :) |
@Michaelg22 hey, I would like to work on this issue. |
Thanks I will assign it to you! |
the time format is |
Should we add an argument to change it @xdlbdy |
y-m-d or d-m-y and m-d-y ... |
The provided example |
I have changed the description of targetJSONPath |
Please I'd love to work on this |
Hey, Please assign this issue to me, I want to work on this too. |
hey, please assign it to me. i will love to work on this. |
hi @AmeerIbrahimm I assign it to you. |
Motivation
Vanus Functions are a series of pre-built functions worked within Vanus transformer. By choosing a function, users can specify the way that events will be changed.
It will be a good start if you decide to contribute to Vanus codes.
Details
Function name: today
Args
Description
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.
Example
After the function.
The transformed event should look like this:
How to implement
function-today
today.go
underinternal/primitive/transform/action/datatime
, and then implement the function.today.go
underinternal/primitive/transform/action/datatime
for unit test.internal/primitive/transform/runtime/init.go
.Contribution points
Each issue counts specific points based on its difficulty. Contributors earn the corresponding points if they solve that issue. Contribution points are used to describe the contributions contributors have made. They can also be used to get rewards when there are community events.
This issue counts 4 points.
How to claim to solve the issue
If you want to implement this function, please leave a comment in this issue like:
Vanus community will assign the issue to you on time.
The text was updated successfully, but these errors were encountered: