Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
fix: add todo to mwsDate
Browse files Browse the repository at this point in the history
  • Loading branch information
justinemmanuelmercado committed Jul 7, 2020
1 parent d9dd849 commit b0bb0ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parsing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export const mwsDate = Codec.custom<Date>({
decode: (x) =>
string.decode(x).chain((aString) => {
let toDecode = aString
// @todo
// Temp fix. Add UTC if no letter is found in string passed
// (crude way to check if time has timezone)
if (!/[A-Za-z]/g.test(aString)) {
Expand Down

0 comments on commit b0bb0ff

Please sign in to comment.