Commit graph

62 commits

Author SHA1 Message Date
Nicholas Wilson
b1413e3cde
function attributes go on the right of function aliases
FuncType is actually `@system` because of this, for some reason it is still `pure` and `nothrow`.
2019-06-11 09:51:32 +08:00
Sebastian Wilzbach
9092826b27 Use selective top-level module imports in std.{base64,csv,datetime} 2019-05-23 09:57:13 +02:00
Nathan Sashihara
6ffd4e7f28 Replace imports of core.sys.windows.windows to speed up compilation 2018-12-17 21:03:31 -05:00
Iain Buclaw
fd5facfe04 posix.mak: Enforce whitespace before opening parenthesis for version conditions 2018-09-22 16:57:24 +02:00
Jonathan M Davis
e3de72cfea Remove deprecated functions from std.datetime.timezone. 2018-06-24 18:03:51 -06:00
The Dlang Bot
d682187cfe
Merge pull request #6598 from Alexibu/patch-1
Document deprecation of TimeZone.getTimeZone
merged-on-behalf-of: Jonathan M Davis <jmdavis@users.noreply.github.com>
2018-06-24 12:15:26 +02:00
Walter Bright
92aa49952b dip1000: std.datetime.timezone replace 'in' with 'scope const' 2018-06-23 22:32:50 -07:00
Jonathan M Davis
852dc7ef6e
Some fixes to the docs for TimeZone and LocalTime
The information that the docs for TimeZone and LocalTime gave about the TZ Database
was outdated.
2018-06-22 19:28:31 -06:00
Alexibu
58f8200fc7
Update timezone.d 2018-06-22 20:39:45 +10:00
Alexibu
8d971df834
Document deprecation of TimeZone.getTimeZone
There was documentation refering to the now deprecated method of getting one of the of the timezone implementations via the static TimeZone.getTimeZone.
2018-06-22 20:30:50 +10:00
Joakim
f916d73af7 Musl: last remaining tweaks 2018-06-07 11:58:44 +05:30
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
6f766dce5d Remove redundant 'static' storage classes 2018-04-05 13:11:48 +02:00
Sebastian Wilzbach
6797808b39
Merge pull request #6366 from FeepingCreature/fix/localtime-has-always-been-broken-and-should-never-have-been-used
Fix localtime
2018-04-03 11:21:56 +02:00
Mathis Beer
5d6bf2bdd2 Do not call localtime. It is not threadsafe. You will randomly return wrong times in threaded apps. Fixes Issue 18714. 2018-04-03 09:57:00 +02:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Jack Stouffer
5094a273a8 Fixed >120 character line in std.datetime.timezone 2018-03-26 15:25:35 -04:00
Jonathan M Davis
1436fca1cc Add website link to author name for Jonathan M Davis. 2018-03-10 16:31:23 -07:00
The Dlang Bot
becfefbae9
Merge pull request #6224 from ThomasMader/master
Use baseName to also skip leapseconds file in subfolders
merged-on-behalf-of: Jonathan M Davis <jmdavis@users.noreply.github.com>
2018-03-05 07:55:39 +01:00
Thomas Mader
138d43e254 Use baseName to also skip leapseconds file in subfolders like on NixOS in the posix subfolder. 2018-02-26 13:10:13 +01:00
Martin Nowak
09926f9837 Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-02-23 21:37:12 +01:00
Jack Stouffer
663b5b9278 Revert addition of StdUnittest 2018-02-20 13:32:32 -05:00
carblue
e9cdd6a54e std.datetime.timezone - fix a -dip1000 compilable issue; trivial 2018-02-15 19:45:13 +01:00
Jack Stouffer
a55744aa69 Work On Issue 10828 - datetime toString functions should accept sink 2018-02-14 12:14:04 -05:00
The Dlang Bot
378b710315
Merge pull request #6118 from wilzbach/fix-18345
Issue 18345 - add bookmark tables to std.datetime
merged-on-behalf-of: Jonathan M Davis <jmdavis@users.noreply.github.com>
2018-02-07 19:27:56 +01:00
Sebastian Wilzbach
6fcd737163 Issue 18345 - add bookmark tables to std.datetime 2018-02-03 21:05:34 +01:00
Jack Stouffer
18cbb29b04 Replaced version(unittest) blocks with version(StdUnittest) 2018-02-01 19:56:59 -05:00
The Dlang Bot
06155b700c
Merge pull request #6103 from JackStouffer/timezone-fromISOString
Optimized std.datetime.timezone.SimpleTimeZone.fromISOString
merged-on-behalf-of: Jonathan M Davis <jmdavis@users.noreply.github.com>
2018-02-01 13:29:42 +01:00
Jack Stouffer
805dbe7cf3 Optimized std.datetime.timezone.SimpleTimeZone.fromISOString 2018-01-31 07:32:52 -05:00
The Dlang Bot
0d6657a552
Merge pull request #6088 from JackStouffer/timezone-fromISOExtString
Optimized std.datetime.timezone.SimpleTimeZone.fromISOExtString
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-31 09:20:26 +01:00
Joakim
311bb3b0bf Fix some comments from #5902 2018-01-30 19:36:12 +01:00
Jack Stouffer
6f322c7708 Optimized std.datetime.timezone.SimpleTimeZone.fromISOExtString 2018-01-29 08:19:48 -05:00
Martin
9f8482a5ac Solaris fixes for std.datetime 2018-01-04 22:32:19 +01:00
The Dlang Bot
21e280fe60
Merge pull request #5966 from ThomasMader/custom_paths
Add possibility to specify custom path to tzdata dir
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-12-27 23:45:20 +01:00
Thomas Mader
735b360c42 Fix Issue 15391 - Add possibility to specify custom path to TZDatabaseDir 2017-12-27 17:32:48 +01:00
The Dlang Bot
279f99642e
Merge pull request #5948 from andralex/datetime-imports
Dramatically faster to import std.datetime (and anything under it)
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-12-26 20:19:44 +01:00
Andrei Alexandrescu
cd3152c7bf Improve import speed of std.datetime 2017-12-26 13:24:37 -05:00
Diederik de Groot
31ca73d58d
Port of phobos to DragonFlyBSD
Notes:
- FIXME message related to dragonfly malloc issue (issue reported on upstream dragonfly issue database)
2017-12-20 08:05:49 +01:00
Jonathan M Davis
abe4f45d9f Move some std.datetime deprecations along. 2017-07-18 06:37:07 -06:00
Sebastian Wilzbach
d8959320e0 Fix deprecations on Windows 2017-07-06 01:01:52 +02:00
Sebastian Wilzbach
2ec7e9199b Fix Ddoc comments 2017-06-21 05:10:24 +02:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
This reverts commit 998ad51fd7.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
998ad51fd7 Sort selective imports 2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02:00
Jonathan M Davis
522952b0c9 Fix std.datetime autotester failure for FreeBSD 10.3/11.
The tests fail depending on your timezone due to a known FreeBSD bug, so
we need to disable them until the bug in FreeBSD gets fixed.
2017-05-07 17:43:39 +02:00
Jonathan M Davis
b7bb3bcc46 Fix links in std.datetime. 2017-05-06 16:48:09 +02:00
Jonathan M Davis
10a7292b6b Remove uses of common, datetime, and timeofday. 2017-05-06 16:48:09 +02:00
Jonathan M Davis
6027d7b449 Move stray functionality in std.datetime.common to std.datetime.date. 2017-05-06 16:48:09 +02:00
Jonathan M Davis
6e2f88a806 Fix links in std.datetime. 2017-05-05 21:47:02 +02:00
Jonathan M Davis
10611d68b1 Move Clock to std.datetime.systime. 2017-05-05 21:47:02 +02:00