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 timestamp operation #5

Closed
chilland opened this issue Aug 11, 2016 · 3 comments
Closed

Add timestamp operation #5

chilland opened this issue Aug 11, 2016 · 3 comments

Comments

@chilland
Copy link
Contributor

It would be great if a timestamp field could be specified and a transformation applied to the string. For example you could transform a Unix timestamp to standard GMT. Probably could use the built-in golang date formatting as a template.

@ryanleary
Copy link
Contributor

Have any proposals for what the json specification should look like?

@chilland
Copy link
Contributor Author

Probably can just rely on the golang parsing for now. So something along the lines of:

{
  "operation": "timestamp",
  "format": "2006-01-02T15:04:05Z07:00",
  "spec": {
    "new_timestamp: "path.to.timestamp"
  }
}

@chilland
Copy link
Contributor Author

closed by #44

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

2 participants