-
Notifications
You must be signed in to change notification settings - Fork 80
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
datetime Evaluation error: argument 0 with type int64 but it should be float64 #72
Comments
you can use the |
Yes i can but its not worked for me. And why i mentioned before. |
If you continue to experience issues please send a patch |
Thank you! Done: diff --git a/template.go b/template.go -func toDatetime(timestamp float64, layout, zone string) string { Tests done with denvasyliev/slack. Need to fix documentation http://plugins.drone.io/drone-plugins/drone-slack/:
Works fine for first look :) |
I have the exact same issue, described here: #106 (comment) |
Similar issue to #123 (comment) |
Great plugin - thanks a lot!
Minor:
http://plugins.drone.io/drone-plugins/drone-slack/
Issue:
"datetime
converts a unix timestamp to a date time string. Example {{datetime build.started}}"
But
template.go - 90: func toDatetime(timestamp float64, layout, zone string) string
main.go - 185: Started: c.Int64("build.started"),
plugin.go - 29: Started int64
Thank you.
The text was updated successfully, but these errors were encountered: