using System.Globalization;

namespace Packt.CloudySkiesAir.Chapter12.Helpers;

public static class DateHelpers {
  public static string Format(this DateTime time) {
    CultureInfo culture = CultureInfo.InvariantCulture;
    return time.ToString("ddd MMM dd HH:mm tt", culture);
  }
}