Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
3f9eb80713 | |||
8f0ce0900e |
@ -1,15 +1,14 @@
|
||||
# Package
|
||||
|
||||
version = "0.4.2"
|
||||
version = "0.4.4"
|
||||
author = "Jonathan Bernard"
|
||||
description = "Utilities and bindings for HFF's Notion API."
|
||||
license = "GPL-3.0-or-later"
|
||||
srcDir = "src"
|
||||
|
||||
|
||||
# Dependencies
|
||||
|
||||
requires "nim >= 1.4.8"
|
||||
requires "https://git.jdb-software.com/jdb/buffoonery"
|
||||
requires "https://git.jdb-software.com/jdb/nim-time-utils.git >= 0.5.0"
|
||||
requires "https://git.jdb-software.com/jdb/nim-namespaced-logging"
|
||||
requires "https://git.jdb-software.com/jdb/nim-namespaced-logging.git >= 0.3.1"
|
||||
|
@ -8,7 +8,7 @@ const NOTION_DATE_FORMAT = "YYYY-MM-dd"
|
||||
var logNs {.threadvar.}: LoggingNamespace
|
||||
|
||||
template log(): untyped =
|
||||
if logNs.isNil: logNs = initLoggingNamespace("hff_notion_api_client/utils", lvlInfo)
|
||||
if logNs.isNil: logNs = getLoggerForNamespace("hff_notion_api_client/utils", lvlInfo)
|
||||
logNs
|
||||
|
||||
proc parseDate(str: string): DateTime =
|
||||
|
Reference in New Issue
Block a user