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:
Miran 2020-06-17 15:25:02 +02:00 • committed by GitHub
commit e7f280bd26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 155 additions and 519 deletions

View file

@ -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.

View file

@ -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:

View file

@ -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>