Skip to content

Commit

Permalink
Date string format changed
Browse files Browse the repository at this point in the history
  • Loading branch information
enviGit committed Feb 21, 2023
1 parent 0371519 commit fcd89af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WeatherProphet/WeatherForecast.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class WeatherForecast
public string Weather { get; set; }
public string ImageUrl { get; set; }
public string DayOfWeek { get { return Date.ToString("dddd"); } }
public string FormattedDate { get { return Date.ToString("dd/MM/yyyy HH:mm"); } }
public string FormattedDate { get { return Date.ToString("dd/MM/yyyy"); } }

public WeatherForecast(DateTime date, string weather, double temperature, string imageUrl)
{
Expand Down

0 comments on commit fcd89af

Please sign in to comment.