Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #7624 from skilchen/fix-issue7620 | Dominik Picheta | 2018-05-03 | 1 | -0/+6 |
|\ | | | | | there is no hour 0 in am/pm time (see #7620) | ||||
| * | there is no hour 0 in am/pm time | skilchen | 2018-04-16 | 1 | -0/+6 |
| | | |||||
* | | make more tests green | Araq | 2018-04-30 | 1 | -1/+0 |
| | | |||||
* | | update the documentation about the new strings/seqs behaviours | Andreas Rumpf | 2018-04-29 | 1 | -1770/+0 |
| | | |||||
* | | Rename `Time.nanoseconds` to `nanosecond` (#7673) | Oscar Nihlgård | 2018-04-25 | 1 | -2/+6 |
| | | | | | | | | | | | | * Rename `Time.nanoseconds` to `nanosecond` * Fix bug with Duration comparision | ||||
* | | Add `fromWinTime` and deprecate `unixTimeToWinTime`/`winTimeToUnixTime` (#7641) | Oscar Nihlgård | 2018-04-19 | 1 | -1/+8 |
|/ | |||||
* | Timeinterval optimization (#7608) | Oscar Nihlgård | 2018-04-16 | 1 | -21/+24 |
| | | | | | | * TimeInterval optimization * Fix typo in `$`(Duration) | ||||
* | Sub second time resolution (#6978) | Oscar Nihlgård | 2018-04-13 | 1 | -26/+57 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add deprecation warnings to recently deprecated procs * Fix bad usage of the times module * Introduce sub second resolution * Fix usage of C's time() * Switch to nanosecond resolution * Make Time & Duration opaque again and fix some errors * Change back to TimeInterval for shorthands * Fix JS test * Fix build error for windows * Undeprecate epochTime * Documentation and minor changes * Lots of bugfixes and doc comments * Attempt to make travis & appveyor green * Fix edge cases for dealing with the local timezone * Workaround JS backend overflow/underflow bug * Use better workaround for not knowing the size of time_t * Use all available timezones for tests * Fix indentation * Add procs for accessing the fractional part of a duration * Order time units from smallest to largest since it makes more sense * Include months and years in `TimeUnit` * Review fix | ||||
* | Added count(*) support to sql parser. Fixed warnings in sql parser. (#7490) | treeform | 2018-04-12 | 1 | -5/+24 |
| | |||||
* | Merge pull request #7450 from cabhishek/devel | Dominik Picheta | 2018-04-04 | 1 | -0/+15 |
|\ | | | | | Fixes #6902 | ||||
| * | Fixes #6902 | Abhishek Kapatkar | 2018-03-30 | 1 | -0/+15 |
| | | |||||
* | | Merge pull request #7495 from GULPF/fix-fill-bug | Dominik Picheta | 2018-04-04 | 1 | -11/+0 |
|\ \ | | | | | | | Fix algorithm.fill for empty input | ||||
| * | | Move algorithm tests away from koch | Oscar Nihlgård | 2018-04-04 | 1 | -11/+0 |
| | | | |||||
* | | | Merge pull request #7336 from yglukhov/ipaddr-sockaddr-conversions | Dominik Picheta | 2018-04-02 | 1 | -1/+31 |
|\ \ \ | | | | | | | | | Conversion procs for (IpAddress, Port) <-> (SockAddr, Socklen) | ||||
| * | | | Fixed crash/interface. Added tests. | Yuriy Glukhov | 2018-03-15 | 1 | -1/+31 |
| |/ / | |||||
* | / | Comparing datetimes | data-man | 2018-04-01 | 1 | -1/+9 |
| |/ |/| | |||||
* | | Fixes #7433. | Dominik Picheta | 2018-03-29 | 1 | -0/+15 |
|/ | |||||
* | Resolves #5588: adds openFileStream proc that throws on failure (#7282) | twetzel59 | 2018-03-04 | 1 | -0/+10 |
| | |||||
* | Fix date parsing for a bad inputs | data-man | 2018-02-19 | 1 | -0/+49 |
| | |||||
* | Fix `json.to` for types with generic parameters | Oscar Nihlgård | 2018-02-11 | 1 | -1/+8 |
| | |||||
* | Merge pull request #6517 from FedericoCeratto/hexstr | Dominik Picheta | 2018-01-26 | 1 | -0/+18 |
|\ | | | | | Add string-to-hex and back conversions | ||||
| * | Add string-to-hex and back conversions | Federico Ceratto | 2017-11-27 | 1 | -0/+18 |
| | | | | | | | | Add parseHexStr and toHex and tests. | ||||
* | | fixes #7078 | Araq | 2018-01-14 | 2 | -3/+3 |
| | | |||||
* | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2018-01-11 | 1 | -0/+24 |
|\ \ | |||||
| * \ | Merge pull request #7033 from GULPF/allow-timezone-closures | Dominik Picheta | 2018-01-10 | 1 | -0/+24 |
| |\ \ | | | | | | | | | Allow timezone procs to be closures | ||||
| | * | | Allow timezone procs to be closures | Oscar Nihlgård | 2018-01-05 | 1 | -0/+24 |
| | | | | |||||
* | | | | rename strformat.fmt to `%` as it works better with backslash escape ↵ | Araq | 2018-01-11 | 2 | -3/+3 |
|/ / / | | | | | | | | | | sequences; refs #6958 | ||||
* / / | Add test case | Oscar Nihlgård | 2018-01-09 | 1 | -0/+13 |
|/ / | |||||
* | | memfiles: enable test; refs #6361 | Araq | 2018-01-03 | 1 | -2/+0 |
| | | |||||
* | | cmp(x, y: string) now uses memcmp rather than strcmp (#6869) (#6968) | Mathias Stearn | 2017-12-24 | 1 | -0/+20 |
| | | |||||
* | | Merge pull request #6725 from FedericoCeratto/unittest-5114 | Dominik Picheta | 2017-12-22 | 1 | -0/+38 |
|\ \ | | | | | | | Add unittest suite/test name filters | ||||
| * | | Add unittest suite/test name filters | Federico Ceratto | 2017-11-28 | 1 | -0/+38 |
| |/ | | | | | | | Support simple globbing | ||||
* | | fixes #6353 (#6951) | skilchen | 2017-12-21 | 1 | -0/+44 |
| | | |||||
* | | Better times module (#6552) | GULPF | 2017-12-18 | 1 | -156/+210 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First work on better timezones * Update tests to new api. Removed tests for checking that `isDst` was included when formatting, since `isDst` no longer affects utc offset (the entire utc offset is stored directly in `utcOffset` instead). * Deprecate getLocaltime & getGmTime * Add `now()` as a shorthand for GetTIme().inZone(Local) * Add FedericoCeratto's timezone tests (#6548) * Run more tests in all timezones * Make month enum start at 1 instead of 0 * Deprecate getDayOfWeekJulian * Fix issues with gc safety * Rename TimeInfo => DateTime * Fixes #6465 * Improve isLeapYear * FIx handling negative adjTime * Cleanup: - deprecated toSeconds and fromSeconds, added fromUnix and toUnix instead (that returns int64 instead of float) - added missing doc comments - removed some unnecessary JS specific implementations * Fix misstake in JS `-` for Time * Update usage of TimeEffect * Removed unecessary use of `difftime` * JS fix for local tz * Fix subtraction of months * Fix `days` field in `toTimeInterval` * Style and docs * Fix getDayOfYear for real this time... * Fix handling of adding/subtracting time across dst transitions * Fix some bad usage of the times module in the stdlib * Revert to use proper time resoultion for seeding in random.nim * Move deprecated procs to bottom of file * Always use `epochTime` in `randomize` * Remove TimeInterval normalization * Fixes #6905 * Fix getDayOfWeek for year < 1 * Export toEpochDay/fromEpochDay and change year/month/monthday order * Add asserts for checking that the monthday is valid * Fix some remaining ambiguous references to `Time` * Fix ambiguous reference to Time | ||||
* | | Merge branch 'parsesql' of https://github.com/treeform/Nim into ↵ | Araq | 2017-12-15 | 1 | -0/+191 |
|\ \ | | | | | | | | | | treeform-parsesql | ||||
| * | | fix | treeform | 2017-12-14 | 1 | -296/+111 |
| | | | |||||
| * | | fix | treeform | 2017-12-14 | 1 | -435/+373 |
| | | | |||||
| * | | fix | treeform | 2017-12-14 | 1 | -0/+438 |
| | | | |||||
* | | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Andreas Rumpf | 2017-12-15 | 2 | -2/+2 |
|\| | | |||||
| * | | Improved collection-to-string behavior (#6825) | Fabian Keller | 2017-12-14 | 2 | -2/+2 |
| | | | |||||
* | | | added SQL parser test | Andreas Rumpf | 2017-12-14 | 2 | -0/+310 |
|/ / | |||||
* | | Support all int, uint and float variants in json.to macro. | Dominik Picheta | 2017-11-30 | 1 | -1/+27 |
| | | |||||
* | | Fix infinite recursion when using json.to on ref with cycle. | Dominik Picheta | 2017-11-30 | 2 | -3/+22 |
| | | |||||
* | | Implement support for JsonNode in json.to. | Dominik Picheta | 2017-11-30 | 1 | -1/+18 |
| | | |||||
* | | Implement Table/OrderedTable support for json.to macro. | Dominik Picheta | 2017-11-30 | 1 | -2/+25 |
| | | |||||
* | | Implement support for Option[T] in json.to macro. Fixes #5848. | Dominik Picheta | 2017-11-30 | 1 | -2/+23 |
| | | |||||
* | | Fixes #6604. Rejects unnamed tuples with error. | Dominik Picheta | 2017-11-30 | 2 | -1/+39 |
| | | |||||
* | | Fixes #6095. | Dominik Picheta | 2017-11-30 | 1 | -1/+17 |
| | | |||||
* | | Fixes #5856. Code based on @loloiccl's PR (#5879). | Dominik Picheta | 2017-11-30 | 1 | -1/+14 |
| | | |||||
* | | Fixes #6223. | Dominik Picheta | 2017-11-28 | 1 | -0/+4 |
|/ |