Bläddra i källkod

Fixes #266 - I'm an idiot and used the wrong date format

main
Eric Amodio 7 år sedan
förälder
incheckning
c42cdd5459
4 ändrade filer med 7 tillägg och 3 borttagningar
  1. +4
    -0
      CHANGELOG.md
  2. +1
    -1
      src/annotations/annotations.ts
  3. +1
    -1
      src/git/formatters/formatter.ts
  4. +1
    -1
      src/git/models/commit.ts

+ 4
- 0
CHANGELOG.md Visa fil

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
### Fixed
- Fixes [#266](https://github.com/eamodio/vscode-gitlens/issues/266) - Wrong time in Popup
## [7.5.9] - 2018-01-30
### Fixed
- Fixes [#265](https://github.com/eamodio/vscode-gitlens/issues/265) - Delete line pushes screen to the right (even if word wrap is on)

+ 1
- 1
src/annotations/annotations.ts Visa fil

@ -66,7 +66,7 @@ export class Annotations {
static getHoverMessage(commit: GitCommit, dateFormat: string | null, hasRemote: boolean, annotationType?: FileAnnotationType): MarkdownString {
if (dateFormat === null) {
dateFormat = 'MMMM Do, YYYY h:MMa';
dateFormat = 'MMMM Do, YYYY h:mma';
}
let message = '';

+ 1
- 1
src/git/formatters/formatter.ts Visa fil

@ -27,7 +27,7 @@ export abstract class Formatter
}
if (options.dateFormat == null) {
options.dateFormat = 'MMMM Do, YYYY h:MMa';
options.dateFormat = 'MMMM Do, YYYY h:mma';
}
if (options.tokenOptions == null) {

+ 1
- 1
src/git/models/commit.ts Visa fil

@ -151,7 +151,7 @@ export abstract class GitCommit {
formatDate(format?: string | null) {
if (format == null) {
format = 'MMMM Do, YYYY h:MMa';
format = 'MMMM Do, YYYY h:mma';
}
if (this._dateFormatter === undefined) {

Laddar…
Avbryt
Spara