Error: cannot parse "'2020-09-01T20:41:15Z'" as "2006"
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.1k
- Forks
- 1.1k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 9
Description
When running the following:
sops --decrypt --input-type dotenv --output-type dotenv cloudbuild.bdt-eng-stage.enc.envs
I get:
parsing time "'2020-09-01T20:41:15Z'" as "2006-01-02T15:04:05Z07:00": cannot parse "'2020-09-01T20:41:15Z'" as "2006"
Can't figure out what I'm doing wrong
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the documented sops --decrypt command with cloudbuild.bdt-eng-stage.enc.envs and inspect where the timestamp is parsed. No source file or test is named; done should mean the cause of the parsing error is established and the command's expected handling is covered by a fix or clear guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100