Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

sep (deprecated) -> dirSeparator

  • Loading branch information...
commit dfe83f155d92c98e08b9c896f6312d96794b39f9 1 parent b13e568
Nils Boßung authored April 04, 2012

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  std/datetime.d
8  std/datetime.d
@@ -29286,7 +29286,7 @@ assert(tz.dstName == "PDT");
29286 29286
         version(Posix)
29287 29287
             auto file = tzDatabaseDir ~ name;
29288 29288
         else version(Windows)
29289  
-            auto file = tzDatabaseDir ~ replace(strip(name), "/", sep);
  29289
+            auto file = tzDatabaseDir ~ replace(strip(name), "/", dirSeparator);
29290 29290
 
29291 29291
         enforce(file.exists, new DateTimeException(format("File %s does not exist.", file)));
29292 29292
         enforce(file.isFile, new DateTimeException(format("%s is not a file.", file)));
@@ -29595,10 +29595,10 @@ assert(tz.dstName == "PDT");
29595 29595
         version(Posix)
29596 29596
             subName = strip(subName);
29597 29597
         else version(Windows)
29598  
-            subName = replace(strip(subName), "/", sep);
  29598
+            subName = replace(strip(subName), "/", dirSeparator);
29599 29599
 
29600  
-        if(!tzDatabaseDir.endsWith(sep))
29601  
-            tzDatabaseDir ~= sep;
  29600
+        if(!tzDatabaseDir.endsWith(dirSeparator))
  29601
+            tzDatabaseDir ~= dirSeparator;
29602 29602
 
29603 29603
         enforce(tzDatabaseDir.exists, new DateTimeException(format("Directory %s does not exist.", tzDatabaseDir)));
29604 29604
         enforce(tzDatabaseDir.isDir, new DateTimeException(format("%s is not a directory.", tzDatabaseDir)));

0 notes on commit dfe83f1

Please sign in to comment.
Something went wrong with that request. Please try again.