summary refs log tree commit diff stats
path: root/changelog.md
diff options
context:
space:
mode:
authorOscar NihlgÄrd <oscarnihlgard@gmail.com>2018-04-15 17:25:39 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-04-15 17:25:39 +0200
commit6795d9931b19d3dc603f374d00363b593ccf6553 (patch)
treeaf53939f6c4e1c426347bcf4282ed63562d26701 /changelog.md
parent2478be3f21c244ff67943a963d9c4bc0337cb437 (diff)
downloadNim-6795d9931b19d3dc603f374d00363b593ccf6553.tar.gz
Add recent `times` changes to changelog (#7607)
Diffstat (limited to 'changelog.md')
-rw-r--r--changelog.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index 20ea58b08..68be31a29 100644
--- a/changelog.md
+++ b/changelog.md
@@ -24,6 +24,10 @@
   strings anymore for its ``unit`` parameter. Instead the space is controlled
   by a new parameter ``useUnitSpace``.
 
+- ``proc `-`*(a, b: Time): int64`` in the ``times`` module has changed return type
+  to ``times.Duration`` in order to support higher time resolutions.
+  The proc is no longer deprecated.
+
 #### Breaking changes in the compiler
 
 ### Library additions
@@ -34,6 +38,10 @@
   operations. This is currently not yet available for the JavaScript target.
 - Added ``getCurrentDir``, ``findExe``, ``cpDir`` and  ``mvDir`` procs to
   ``nimscript``.
+- The ``times`` module now supports up to nanosecond time resolution when available.
+- Added the type ``times.Duration`` for representing fixed durations of time.
+- Added the proc ``times.convert`` for converting between different time units,
+  e.g days to seconds.
 
 ### Library changes