Skip to content

Commit

Permalink
0.2.1.0 更新
Browse files Browse the repository at this point in the history
  • Loading branch information
ingen084 committed Sep 12, 2019
1 parent 6452d0e commit 96136e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@

- .NET Standard2.1(.NET Core3.0)に対応しました。

### 修正

- `WebApi``Eew``report_time`が正常に解析できていなかった点を修正しました。
- `LinkedObservationPoint` の初期化時に `site` がnullだった場合に例外を投げていた問題を修正しました。

## 0.2.0.2
### 変更

Expand Down
2 changes: 1 addition & 1 deletion src/KyoshinMonitorLib/ApiResult/WebApi/Eew.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class Eew
[JsonProperty("report_time")]
public string ReportTimeString { get; set; }
[JsonIgnore]
public DateTime? ReportTime => DateTime.TryParseExact(ReportTimeString, "yyyyMMddHHmmss", null, DateTimeStyles.None, out var time) ? time : null as DateTime?;
public DateTime? ReportTime => DateTime.TryParse(ReportTimeString, out var time) ? time : null as DateTime?;
[JsonProperty("region_code")]
public string RegionCode { get; set; }
[JsonProperty("request_time")]
Expand Down

0 comments on commit 96136e9

Please sign in to comment.