Browse Source

fix date format to be valid iso8601

master
Wesley Kerfoot 4 years ago
parent
commit
9713190da4
  1. 2
      src/tweetlogpkg/server.nim

2
src/tweetlogpkg/server.nim

@ -17,7 +17,7 @@ type TwitterThread = ref object of RootObj
author: Author
collectedAt: DateTime
const dateFmt = "YYYY-MM-dd hh:mm:ss"
const dateFmt = "YYYY-MM-dd'T'hh:mm:ss'Z'"
proc parseTweetUrl(url : string) : Option[ThreadRequest] =
let path = url.parseUri.path

Loading…
Cancel
Save