Skip to content

Commit

Permalink
Convert UTC to local time + new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Triky313 committed Aug 16, 2019
1 parent a1cc6c5 commit c9a8cf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,19 +132,19 @@ public MarketCurrentPricesItem(MarketResponseTotal marketResponseTotal)
public ulong SellPriceMin { get; set; }
public string SellPriceMinString => SellPriceMin.ToString("N0", new CultureInfo(LanguageController.CurrentLanguage));
public DateTime SellPriceMinDate { get; set; }
public string SellPriceMinDateString => SellPriceMinDate.ToString("G", new CultureInfo(LanguageController.CurrentLanguage));
public string SellPriceMinDateString => DateTime.SpecifyKind(SellPriceMinDate, DateTimeKind.Utc).ToLocalTime().ToString("G", new CultureInfo(LanguageController.CurrentLanguage));
public ulong SellPriceMax { get; set; }
public string SellPriceMaxString => SellPriceMax.ToString("N0", new CultureInfo(LanguageController.CurrentLanguage));
public DateTime SellPriceMaxDate { get; set; }
public string SellPriceMaxDateString => SellPriceMaxDate.ToString("G", new CultureInfo(LanguageController.CurrentLanguage));
public string SellPriceMaxDateString => DateTime.SpecifyKind(SellPriceMaxDate, DateTimeKind.Utc).ToLocalTime().ToString("G", new CultureInfo(LanguageController.CurrentLanguage));
public ulong BuyPriceMin { get; set; }
public string BuyPriceMinString => BuyPriceMin.ToString("N0", new CultureInfo(LanguageController.CurrentLanguage));
public DateTime BuyPriceMinDate { get; set; }
public string BuyPriceMinDateString => BuyPriceMinDate.ToString("G", new CultureInfo(LanguageController.CurrentLanguage));
public string BuyPriceMinDateString => DateTime.SpecifyKind(BuyPriceMinDate, DateTimeKind.Utc).ToLocalTime().ToString("G", new CultureInfo(LanguageController.CurrentLanguage));
public ulong BuyPriceMax { get; set; }
public string BuyPriceMaxString => BuyPriceMax.ToString("N0", new CultureInfo(LanguageController.CurrentLanguage));
public DateTime BuyPriceMaxDate { get; set; }
public string BuyPriceMaxDateString => BuyPriceMaxDate.ToString("G", new CultureInfo(LanguageController.CurrentLanguage));
public string BuyPriceMaxDateString => DateTime.SpecifyKind(BuyPriceMaxDate, DateTimeKind.Utc).ToLocalTime().ToString("G", new CultureInfo(LanguageController.CurrentLanguage));
public bool BestSellMinPrice { get; set; }
public bool BestSellMaxPrice { get; set; }
public bool BestBuyMinPrice { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.4.*")]
[assembly: AssemblyFileVersion("1.1.4.0")]
[assembly: AssemblyVersion("1.1.5.*")]
[assembly: AssemblyFileVersion("1.1.5.0")]

0 comments on commit c9a8cf4

Please sign in to comment.