Skip to content

Commit

Permalink
Merge pull request #4 from MindscapeHQ/DateTime-fix
Browse files Browse the repository at this point in the history
Date time fix
  • Loading branch information
QuantumNightmare authored Jun 13, 2024
2 parents 17f6d69 + 460ff8b commit 57db3ae
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGE-LOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log for Raygun.Aspire.Hosting.Raygun

### v2.0.1
- Fixed a bug where new exception reports would be displayed as occurring 12 hours ago if they occurred after midday UTC (because of formatting dates with 12 hour time instead of 24 hour time - losing the precision for subsequent time logic).

### v2.0.0
- Added AI Error Resolution - Get AI suggestions to resolve exceptions via a locally running LLM in an Ollama container. This is an optional opt-in feature.
- Fixed a bug where exception messages containing characters that can't be used in file names wouldn't persist.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>https://raygun.com/platform/crash-reporting</PackageProjectUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Version>2.0.0</Version>
<Version>2.0.1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public static IResourceBuilder<RaygunAspireWebAppResource> AddRaygun(this IDistr
{
var raygun = new RaygunAspireWebAppResource(name);
return builder.AddResource(raygun)
.WithAnnotation(new ContainerImageAnnotation { Image = "raygunowner/raygun-aspire-portal", Tag = "2.0.0" })
.WithAnnotation(new ContainerImageAnnotation { Image = "raygunowner/raygun-aspire-portal", Tag = "2.0.1" })
.WithAnnotation(new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", port: port, targetPort: 8080))
.WithVolume("raygun-data", "/app/raygun")
.ExcludeFromManifest()
Expand Down
2 changes: 1 addition & 1 deletion src/RaygunAspireWebApp/RaygunAspireWebApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<version>2.0.0</version>
<version>2.0.1</version>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/RaygunAspireWebApp/Views/ErrorInstance/Details.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<h2 title="@Model?.RaygunMessage?.Details?.Error?.Message" class="error-heading font-opensans--18--28--600 color--color-text-default margin-bottom--12">
@BuildHeading(Model?.RaygunMessage?.Details?.Error?.ClassName, Model?.RaygunMessage?.Details?.Error?.Message)
</h2>
<p id="occurredOnHeading" class="font-opensans--14--32--600 color--color-text-low-emphasis margin-bottom--12">@Model.RaygunMessage.OccurredOn.ToString("MM/dd/yyyy hh:mm:ss")</p>
<p id="occurredOnHeading" class="font-opensans--14--32--600 color--color-text-low-emphasis margin-bottom--12">@Model.RaygunMessage.OccurredOn.ToString("MM/dd/yyyy HH:mm:ss")</p>
</div>

<button id="ai-error-res-btn" class="rg margin-bottom--12" onclick="handleAIChatOpened('@Json.Serialize(@Model?.AierEnabled)')">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

<div class="ei-table">
<div class="ei-label">Occurred on</div>
<div id="occurredOnCell" class="ei-result">@Model.RaygunMessage.OccurredOn.ToString("MM/dd/yyyy hh:mm:ss")</div>
<div id="occurredOnCell" class="ei-result">@Model.RaygunMessage.OccurredOn.ToString("MM/dd/yyyy HH:mm:ss")</div>
</div>

<div class="ei-table">
Expand Down
2 changes: 1 addition & 1 deletion src/RaygunAspireWebApp/Views/Home/_ErrorList.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{
<tr class="border-bottom-width--1 border-color--color-border-elevation height--40 error-table-row">
<td class="padding-horizontal--12 font-opensans--14--24--400"><a class="no-underline color--color-text-link width--full display--block" href="/errorinstance/details/@file.Id">@file.Name</a></td>
<td class="js-timestamp-cell padding-horizontal--12 font-opensans--14--24--400">@file.Timestamp.ToString("MM/dd/yyyy hh:mm:ss")</td>
<td class="js-timestamp-cell padding-horizontal--12 font-opensans--14--24--400">@file.Timestamp.ToString("MM/dd/yyyy HH:mm:ss")</td>
</tr>
}
}
Expand Down

0 comments on commit 57db3ae

Please sign in to comment.