Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes #13558: toDateTime buggy on 29th, 30th and 31th of each month; ↵ | Timothee Cour | 2020-03-11 | 1 | -13/+3 |
| | | | | breaking change: do not use `now` to compute result, was undocumented and non-sensical (#13565) | ||||
* | fixes #13543 and added times.isLeapDay (#13547) | Timothee Cour | 2020-03-01 | 1 | -0/+13 |
| | |||||
* | Add sideEffect pragma to importC procs in posix, winlean and time module ↵ | Tomohiro | 2020-02-08 | 1 | -3/+3 |
| | | | | | | | | | (#13370) * Add sideEffect pragma to procs in winlean * Add sideEffect pragma to procs in posix * Add test for #13306 * Add sideEffect pragma to procs in times * Fixes #13306 | ||||
* | [backport] times/getClockStr(): fix mistake in doc (#13229) [ci skip] | Milan | 2020-01-22 | 1 | -1/+1 |
| | |||||
* | fixes a critical times.nim bug reported on IRC [backport] (#13216) | Andreas Rumpf | 2020-01-21 | 1 | -2/+3 |
| | |||||
* | times: toUnixFloat, fromUnixFloat (#13044) | Timothee Cour | 2020-01-18 | 1 | -9/+28 |
| | |||||
* | style fix: change 'JS' to 'js' to make it consistent (#13168) | Miran | 2020-01-16 | 1 | -7/+7 |
| | |||||
* | [minor] fix doc for $(Time) (#12795) [backport] | Timothee Cour | 2019-12-03 | 1 | -1/+1 |
| | |||||
* | fix documentation of `$`*(dt: DateTime) (#12660) | David Krause | 2019-11-15 | 1 | -1/+1 |
| | | | | (cherry picked from commit 39122ecd93854dd696aad2a5a0a5ad04d6dcdbfa) | ||||
* | [backport] run nimpretty on the remaining files | narimiran | 2019-09-30 | 1 | -74/+88 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -4/+4 |
| | |||||
* | makes tests green again | Andreas Rumpf | 2019-09-21 | 1 | -9/+9 |
| | |||||
* | Add std/monotimes which implements monotonic timestamps (#11712) | Andreas Rumpf | 2019-07-15 | 1 | -9/+16 |
|\ | | | | | | | | | | | * [feature] Added std/monotimes * [other] Minor optimization in times | ||||
| * | [other] Minor optimization in times | Oscar Nihlgård | 2019-07-12 | 1 | -9/+12 |
| | | |||||
| * | [feature] Added std/monotimes | Oscar Nihlgård | 2019-07-12 | 1 | -0/+4 |
| | | |||||
* | | times: use posix constant instead of import (#11692) | Jacek Sieka | 2019-07-13 | 1 | -9/+4 |
|/ | | | | | | * times: use posix constant instead of import * simplify clock id usage | ||||
* | there is only one style -- my style | Araq | 2019-07-10 | 1 | -0/+8 |
| | |||||
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵ | Araq | 2019-07-10 | 1 | -12/+12 |
| | | | | --styleCheck:error | ||||
* | ABI fixes for OSX/BSD; fixes #6860 (#11666) | Andreas Rumpf | 2019-07-06 | 1 | -1/+1 |
| | |||||
* | Documentation improvements to the times module (#11639) | Graeme Cross | 2019-07-03 | 1 | -27/+27 |
| | | | | | * Typo and grammar fixes for the times module * Minor typo fixes to the times module | ||||
* | fixes #7167 (#11300) | Andreas Rumpf | 2019-05-22 | 1 | -1/+1 |
| | | | | | | * fixes #7167 * spec: distinct types can be ordinal types * bootstrapping issue | ||||
* | getDateStr and getClockStr takes a default parameter (#11108) | liuxiaodong | 2019-05-21 | 1 | -4/+6 |
| | |||||
* | make epochTime available in DLLs; refs #6855 | Araq | 2019-05-10 | 1 | -50/+49 |
| | |||||
* | Allow for locale-based parsing/formatting of dates (#11170) | Matt Haggard | 2019-05-08 | 1 | -91/+57 |
| | | | | | | | | | | | | | | | * Allow for locale-based parsing/formatting of dates * Updates based on review feedback of PR 11170 DateTimeLocale arrays are now indexed by Month and WeekDay enums. More sane date used for testing. Documentation newline. Case change of DefaultLocale (and make it public) * Add changelog entry for DateTimeLocale addition to times module * Use pattern symbols for DateTimeLocale attribute names | ||||
* | Add missing `deprecated` pragma (#11100) [ci skip] | Oscar Nihlgård | 2019-04-24 | 1 | -1/+1 |
| | |||||
* | Fix header inconsistencies in documentation (#11071) | Zed | 2019-04-23 | 1 | -6/+7 |
| | |||||
* | Strformat symbol binding (#10927) | Arne Döring | 2019-04-05 | 1 | -0/+8 |
| | |||||
* | newruntime: progress | Araq | 2019-04-01 | 1 | -1/+1 |
| | |||||
* | make 'nim doc times.nim' work on old versions of OSX again | Andreas Rumpf | 2019-03-04 | 1 | -1/+1 |
| | |||||
* | times.nim: Fix docs for duration conversion procs [ci skip] (#10770) | ee7 | 2019-03-02 | 1 | -5/+5 |
| | |||||
* | times.nim: avoid some stdlib dependencies | Araq | 2019-02-20 | 1 | -5/+5 |
| | |||||
* | Replace the duration conversion procs with new improved ones (#10710) | Oscar Nihlgård | 2019-02-19 | 1 | -56/+156 |
| | |||||
* | better docs: times | narimiran | 2019-02-13 | 1 | -27/+93 |
| | |||||
* | New implementation of times.between (#10523) | Oscar Nihlgård | 2019-02-06 | 1 | -81/+94 |
| | | | | | | | | * Refactor ttimes * New implementation of times.between * Deprecate times.toTimeInterval | ||||
* | times.nim: make it compile on older OSX versions | Andreas Rumpf | 2019-02-04 | 1 | -1/+14 |
| | |||||
* | Deprecate the times.countX procs (#10522) | Oscar Nihlgård | 2019-02-01 | 1 | -4/+16 |
| | |||||
* | times: use clock_gettime() for epochTime() (#10499) | alaviss | 2019-01-30 | 1 | -12/+4 |
| | | | | | | | | | | | * times: use clock_gettime() for epochTime() Fixes #10494 * times: remove gettimeofday() As FreeBSD and OSX support CLOCK_REALTIME, there's no reason to keep this code around. | ||||
* | Revert export of times.CTime; add std/time_t instead. (#10319) | Oscar Nihlgård | 2019-01-16 | 1 | -7/+4 |
| | | | | | * Revert export of times.CTime * Add std/time_t | ||||
* | Expose CTime (#10301) | genotrance | 2019-01-14 | 1 | -3/+3 |
| | |||||
* | Times cosmetic changes (#10237) | Oscar Nihlgård | 2019-01-10 | 1 | -329/+374 |
| | | | | | | | | | | * Add more Date wrappers to jscore * Times cosmetic changes - Improved docs - Code wrapped at 80 chars - Formatting fixes using nimpretty - Remove some old deprecated procs | ||||
* | refs #10121 (#10124) | Timothee Cour | 2018-12-30 | 1 | -1/+2 |
| | |||||
* | Don't use parseutils.parseInt in the times module (#10028) | Oscar Nihlgård | 2018-12-22 | 1 | -39/+67 |
| | |||||
* | times.nim: Minor formatting change in the example code | Araq | 2018-12-04 | 1 | -1/+1 |
| | |||||
* | times: use clock_gettime for cpuTime with POSIX (#9793) | Emery Hemingway | 2018-11-26 | 1 | -3/+13 |
| | | | | | | The POSIX 'clock()' procedure returns process CPU time in an implementation specific unit, which for historical reasons can be as large as ~7ms in the case of FreeBSD. Use 'clock_gettime' for higher accuracy. | ||||
* | updated tests to be executed | Arne Döring | 2018-11-23 | 1 | -1/+6 |
| | |||||
* | Times module cosmetic changes (#9770) | Oscar Nihlgård | 2018-11-20 | 1 | -33/+22 |
| | |||||
* | removes deprecated T/P types | Araq | 2018-11-16 | 1 | -3/+0 |
| | |||||
* | times - remove unneeded negative sign when parsing formats z and zz (#9631) | pgkos | 2018-11-06 | 1 | -3/+3 |
| | | | | | | * fix wrong utcoffset sign for formats z and zz * add tests for the timezone offset formats | ||||
* | Fix times 32-bit issue | Oscar Nihlgård | 2018-10-19 | 1 | -2/+4 |
| | |||||
* | times.nim: minor code cleanup | Araq | 2018-08-31 | 1 | -3/+2 |
| |