Skip to content

Commit ee6e243

Browse files
authored
Fix broken links in README
* Links to tests * Links to source
1 parent e49c229 commit ee6e243

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Below is a small sampling of the things you can accomplish with DateTimeExtensio
1919

2020
### Business Day
2121

22-
Quickly calculate if a datetime is within your hours of business. Check out our [unit tests](https://github.com/exceptionless/Exceptionless.DateTimeExtensions/blob/master/test/Exceptionless.DateTimeExtensions.Tests/BusinessDayTests.cs) for more usage samples.
22+
Quickly calculate if a datetime is within your hours of business. Check out our [unit tests](https://github.com/exceptionless/Exceptionless.DateTimeExtensions/blob/main/tests/Exceptionless.DateTimeExtensions.Tests/BusinessDayTests.cs) for more usage samples.
2323

2424
```csharp
2525
var date = DateTime.Now.StartOfDay().AddHours(8);
@@ -33,7 +33,7 @@ bool isDay = day.IsBusinessDay(date);
3333

3434
### DateTime Ranges
3535

36-
Quickly work with date ranges. . Check out our [unit tests](https://github.com/exceptionless/Exceptionless.DateTimeExtensions/blob/master/test/Exceptionless.DateTimeExtensions.Tests/DateTimeRangeTests.cs) for more usage samples.
36+
Quickly work with date ranges. . Check out our [unit tests](https://github.com/exceptionless/Exceptionless.DateTimeExtensions/blob/main/tests/Exceptionless.DateTimeExtensions.Tests/DateTimeRangeTests.cs) for more usage samples.
3737

3838
```csharp
3939
var range = DateTimeRange.Parse("yesterday", DateTime.Now);
@@ -44,7 +44,7 @@ if (range.Contains(DateTime.Now.Subtract(TimeSpan.FromHours(6)))) {
4444

4545
### TimeUnit
4646

47-
Quickly work with time units. . Check out our [unit tests](https://github.com/exceptionless/Exceptionless.DateTimeExtensions/blob/master/test/Exceptionless.DateTimeExtensions.Tests/TimeUnitTests.cs) for more usage samples.
47+
Quickly work with time units. . Check out our [unit tests](https://github.com/exceptionless/Exceptionless.DateTimeExtensions/blob/main/tests/Exceptionless.DateTimeExtensions.Tests/TimeUnitTests.cs) for more usage samples.
4848

4949
```csharp
5050
TimeSpan oneNanosecond = TimeUnit.Parse("1nanos");
@@ -58,7 +58,7 @@ TimeSpan oneDay = TimeUnit.Parse("1d");
5858

5959
### DateTime Extension methods
6060

61-
Helper methods that makes working with DateTimes easier. Check out the [source](https://github.com/exceptionless/Exceptionless.DateTimeExtensions/blob/master/src/Exceptionless.DateTimeExtensions/DateTimeExtensions.cs) for all of the extension methods you can use.
61+
Helper methods that makes working with DateTimes easier. Check out the [source](https://github.com/exceptionless/Exceptionless.DateTimeExtensions/blob/main/src/Exceptionless.DateTimeExtensions/DateTimeExtensions.cs) for all of the extension methods you can use.
6262

6363
```csharp
6464
using Exceptionless.DateTimeExtensions;
@@ -83,7 +83,7 @@ var endOfMonth = DateTimeOffset.Now.ToEndOfMonth();
8383

8484
### Timespan Extension methods
8585

86-
Helper methods that makes working with TimeSpans easier. Check out the [source](https://github.com/exceptionless/Exceptionless.DateTimeExtensions/blob/master/src/Exceptionless.DateTimeExtensions/TimeSpanExtensions.cs) for all of the extension methods you can use.
86+
Helper methods that makes working with TimeSpans easier. Check out the [source](https://github.com/exceptionless/Exceptionless.DateTimeExtensions/blob/main/src/Exceptionless.DateTimeExtensions/TimeSpanExtensions.cs) for all of the extension methods you can use.
8787

8888
```csharp
8989
using Exceptionless.DateTimeExtensions;

0 commit comments

Comments
 (0)