summary refs log tree commit diff stats
path: root/lib/pure/oids.nim
Commit message (Collapse)AuthorAgeFilesLines
* Better times module (#6552)GULPF2017-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* fix redundant time import with different signature (#5715)Jacek Sieka2017-04-161-2/+1
|
* Fixed race condition in genOid()Ruslan Mustakov2016-08-231-2/+1
|
* Added == operator for comparing two Object IDsRostyslav Dzinko2015-09-081-0/+4
|
* lib: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-9/+9
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* Don't run non-test code when defined(testing)Oleh Prypin2015-04-211-1/+1
|
* Remove extra trailing zero from oidFlaviu Tamas2014-11-021-1/+1
| | | | | `$` would return a string of length 25, including the trailing null String length changed to 24, avoiding an extra null byte in the output
* several modules changedAraq2014-08-281-1/+1
|
* big renameAraq2014-08-271-9/+11
|
* Fix more 'undeclared identifier' errors.EXetoC2014-05-141-2/+2
|
* stdlib compiles mostly without warnings againAraq2014-02-061-1/+1
|
* added $ for oidsAraq2013-10-311-1/+5
|
* changed integer promotion rules; breaks bootstrapping and lots of codeAraq2012-07-081-1/+2
|
* better opengl wrapper; oids and endians modules documentedAraq2012-04-041-4/+9
|
* added libsvm wrapperAraq2012-04-041-0/+81