Files
Nim/tests/stdlib
GULPF a879973081 Better times module (#6552)
* 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
2017-12-18 23:11:28 +01:00
..
2017-11-01 00:20:40 +01:00
2017-12-14 12:46:09 +01:00
2017-02-13 13:35:40 +01:00
2015-03-12 11:08:03 +01:00
2014-01-13 02:10:03 +01:00
2014-08-29 09:12:12 +02:00
2014-07-19 14:37:47 +02:00
2014-01-13 02:10:03 +01:00
2015-06-20 11:37:29 +01:00
2017-11-15 17:25:48 +01:00
2017-06-20 12:11:09 +02:00
2015-08-03 12:35:57 -04:00
2015-08-03 12:35:57 -04:00
2015-08-03 12:35:57 -04:00
2015-03-31 00:32:39 +02:00
2017-07-25 09:28:23 +02:00
2017-01-10 11:27:03 +01:00
2017-05-04 22:25:29 +02:00
fix
2017-12-14 18:36:18 +00:00
2017-07-25 09:28:23 +02:00
2016-07-01 07:24:30 -06:00
2017-12-14 12:46:09 +01:00
2015-09-27 15:49:40 +10:00
2014-01-13 02:10:03 +01:00
2017-11-28 14:33:53 +00:00
2017-12-18 23:11:28 +01:00
2014-08-29 09:12:12 +02:00
2015-08-21 21:40:24 +02:00
2014-08-29 09:12:12 +02:00
2016-11-30 10:38:22 +07:00