Commit graph

74 commits

Author SHA1 Message Date
dkorpel
9ec24190b1 add explicit scope/return for pure functions 2021-07-11 13:34:25 +00:00
berni44
6f2a0934a7 Adapt imports of std.format to new structure of std.format. 2021-03-19 13:22:00 +01:00
The Dlang Bot
c6bd15f76c
Merge pull request #7711 from kinke/reduce_ldc_diff
Reduce LDC diff a bit
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2021-01-13 19:35:05 +01:00
Martin Kinkelin
1ea4effc10 std.datetime.timezone: Add missing import on Android 2020-11-28 20:16:26 +01:00
Martin Kinkelin
8f453556c1 std.datetime.timezone: Fix regression for Android 2020-11-27 22:00:43 +01:00
Luís Ferreira
7842db96a6 timezone: wrap dirEntries foreach in a trusted lambda instead of making the whole function @trusted
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2020-10-27 19:53:49 +01:00
Nathan Sashihara
453faadf5b Replace is(Unqual!T == Unqual!U) with is(immutable T == immutable U) for speed & memory usage 2020-08-03 15:07:32 +02:00
Geod24
04f3979317 Replace 'Issue XXX' with Bugzilla links
Make the links clickable, as was done in the DMD repository.
Also avoids any ambiguity w.r.t. where the issue is stored.
2020-04-13 16:28:09 +09:00
Jacob Carlborg
dc36c1439d Fix location of UTC timezone file for unit test on iOS derived platforms 2020-03-03 12:51:07 +01:00
Adam D. Ruppe
ae93f5317c Use consistent quickindex wrapper around hand-written list-of-links tables 2020-02-21 21:04:05 -05:00
Robert Schadek
861b260121 adding assert messages to std.datetime.timezone 2020-01-27 11:46:21 +00:00
Alexandru Militaru
bb62aaca3d Replaced version (unittest) with version (StdUnittest) to avoid unnecessary overhead when compiling with -unittest 2020-01-19 14:05:17 +02:00
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