mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 13:14:59 +00:00
feature: allows to change DateTime
format (#755)
This commit is contained in:
parent
dc649e6142
commit
c058b4744b
12 changed files with 118 additions and 37 deletions
|
@ -129,6 +129,21 @@ namespace SourceGit.ViewModels
|
|||
set => SetProperty(ref _subjectGuideLength, value);
|
||||
}
|
||||
|
||||
public int DateTimeFormat
|
||||
{
|
||||
get => Models.DateTimeFormat.ActiveIndex;
|
||||
set
|
||||
{
|
||||
if (value != Models.DateTimeFormat.ActiveIndex &&
|
||||
value >= 0 &&
|
||||
value < Models.DateTimeFormat.Supported.Count)
|
||||
{
|
||||
Models.DateTimeFormat.ActiveIndex = value;
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public bool UseFixedTabWidth
|
||||
{
|
||||
get => _useFixedTabWidth;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue