hashicorp / hashicorp/nomad

Nomad status mixes timezones

Open
#5,507 0 comments 0 reactions 0 assignees View on GitHub
theme/cli type/bug
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

### Nomad version

```
Nomad v0.8.7
```

### Operating system and Environment details

Linux server, Linux/OSX client.

### Issue

When issuing a `nomad status` nomad responds with datetimes in multiple timezones.

### Reproduction steps

```
$ nomad status
ID Type Priority Status Submit Date
clusterapp service 50 running 2019-03-19T00:04:22Z
diceapp service 50 running 2019-04-01T19:59:14+01:00
egress system 50 running 2019-04-01T15:18:26+01:00
ingress system 50 running 2019-03-22T00:25:49Z
whoami service 50 running 2019-03-18T16:43:23Z
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the mixed timestamp output with `nomad status` using the versions and Linux/OSX environments described in the issue. Trace the command's datetime formatting; done means the status table presents datetimes consistently in one timezone, with a regression test covering the reported output.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.