Remove deprecated stuff from stdlib (#14699)
* update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff
This commit is contained in:
parent
8619534293
commit
e7f280bd26
41 changed files with 155 additions and 519 deletions
|
|
@ -101,7 +101,7 @@ proc createChangelog(pkgName, version, maintainer: string): string =
|
|||
addN(" * Initial release.")
|
||||
addN("")
|
||||
addN(" -- " & maintainer & " " &
|
||||
formatDateTime(getGMTime(getTime()), "+0000"))
|
||||
formatDateTime(utc(getTime()), "+0000"))
|
||||
|
||||
proc createRules(): string =
|
||||
## Creates a nim application-agnostic rules file for building deb packages.
|
||||
|
|
|
|||
|
|
@ -421,7 +421,7 @@ proc generateRss(outputFilename: string, news: seq[TRssItem]) =
|
|||
output.write(link(href = rssNewsUrl))
|
||||
output.write(id(rssNewsUrl))
|
||||
|
||||
let now = getGMTime(getTime())
|
||||
let now = utc(getTime())
|
||||
output.write(updatedDate($now.year, $(int(now.month) + 1), $now.monthday))
|
||||
|
||||
for rss in news:
|
||||
|
|
|
|||
|
|
@ -250,7 +250,7 @@ runForever()
|
|||
<p>This section lists the companies and individuals that are, very kindly, contributing a
|
||||
monthly amount to help sustain Nim's development. For more details take a
|
||||
look at the <a href="https://salt.bountysource.com/teams/nim">Bountysource campaign</a>.</p>
|
||||
<p class="lastUpdate">Last updated: ${getTime().getGMTime().format("dd/MM/yyyy")}</p>
|
||||
<p class="lastUpdate">Last updated: ${getTime().utc().format("dd/MM/yyyy")}</p>
|
||||
<dl>
|
||||
${generateSponsors(activeSponsors)}
|
||||
</dl>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue