Skip to content

Commit

Permalink
Use the correct year in the date format!
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyestein committed Aug 21, 2024
1 parent e4d3551 commit b1e2eda
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ private String applyHl7Template(long samplingRate, String locationId, Instant ob
OBX|${obxI}|${dataType}|${streamId}||${valuesAsStr}||||||F||20|${obsTimeStr}|\r\
""";
ZoneId hospitalTimezone = ZoneId.of("Europe/London");
// XXX: shouldn't this be yyyy?
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("YYYYMMddHHmmss.SSSZZ");
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyyMMddHHmmss.SSSZZ");
// XXX: where to get message timestamp from? Just add a random bit maybe?
// Will sampling rate have to be inferred at the other end? It's in the coding table I think...
// message Id I think shouldn't be created here
Expand Down

0 comments on commit b1e2eda

Please sign in to comment.