浏览代码

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

main
Eric Amodio 7 年前
父节点
当前提交
c42cdd5459
共有 4 个文件被更改,包括 7 次插入3 次删除
  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 查看文件

@ -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 查看文件

@ -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 查看文件

@ -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 查看文件

@ -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) {

正在加载...
取消
保存