Skip to content

Fix #1124#1136

Merged
subdavis merged 2 commits into
mainfrom
bugfix/1124
Jan 25, 2022
Merged

Fix #1124#1136
subdavis merged 2 commits into
mainfrom
bugfix/1124

Conversation

@subdavis
Copy link
Copy Markdown
Contributor

fixes #1124

Other minor changes

  • makes upload dialog consistent with dense and persistent-hint
  • Adds some useful hint description
  • Formats job metadata with pretty indenting so the JSON is human readable.

column2 = meta.originalImageFiles[feature.frame];
} else if (meta.type === 'video') {
column2 = moment.utc(feature.frame / meta.fps).format('H:M:S.SSS');
column2 = moment.utc(feature.frame / meta.fps).format('HH:mm:ss.SSS');
Copy link
Copy Markdown
Contributor Author

@subdavis subdavis Jan 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notice the terrifying bug here. M instead of m indicates that until now, this was outputting the MONTH instead of the minute.

In strftime, this is backwards: little m is month. https://man7.org/linux/man-pages/man3/strftime.3.html

It's insane to me that they made their formatting backwards from the unix standard.

@subdavis subdavis merged commit f3bf3f7 into main Jan 25, 2022
@subdavis subdavis deleted the bugfix/1124 branch January 25, 2022 18:45
BryonLewis added a commit that referenced this pull request Feb 24, 2022
* Fix #1124

* Added test and padded to match (#1137)

Co-authored-by: BryonLewis <61746913+BryonLewis@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

Pad timestamps in output file formats (e.g. viame_csv) when necessary

2 participants