- #2881 Revert "Merge pull request #2746 from mbad0la:develop" Sep->Sept
- #2868 Add format and parse token Y, so it actually works
- #2865 Use typeof checks for undefined for global variables
- #2858 Fix Date mocking regression introduced in 2.11.0
- #2864 Include changelog in npm release
- #2830 dep: add grunt-cli
- #2869 Fix months parsing for some locales
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using NodaTime; | |
using NPoco; | |
namespace PocoNoda | |
{ | |
public class NodaMapper : DefaultMapper | |
{ | |
public override Func<object, object> GetFromDbConverter(Type DestType, Type SourceType) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var d365 = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 ]; | |
var d366 = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366 ]; | |
function parts2ts(year, month, day, hour, minute, second, millisecond) { | |
if (month < 0 || month > 11) { | |
return NaN; | |
} | |
var leap = year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0); | |
var days = leap ? d366 : d365; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using Raven.Client.Indexes; | |
using Raven.Client.Linq; | |
using Raven.Imports.Newtonsoft.Json; | |
using Raven.Json.Linq; | |
using Raven.Tests.Helpers; | |
using Xunit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"International Date Line West":"Pacific/Midway", | |
"Midway Island":"Pacific/Midway", | |
"American Samoa":"Pacific/Pago_Pago", | |
"Hawaii":"Pacific/Honolulu", | |
"Alaska":"America/Juneau", | |
"Pacific Time (US & Canada)":"America/Los_Angeles", | |
"Tijuana":"America/Tijuana", | |
"Mountain Time (US & Canada)":"America/Denver", | |
"Arizona":"America/Phoenix", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Egypt Standard Time] | |
"TZI"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,\ | |
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Egypt Standard Time\Dynamic DST] | |
"2016"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,\ | |
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 | |
"2017"=- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE supplementalData SYSTEM "../../common/dtd/ldmlSupplemental.dtd"> | |
<!-- | |
Copyright © 1991-2013 Unicode, Inc. | |
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) | |
For terms of use, see http://www.unicode.org/copyright.html | |
--> | |
<supplementalData> | |
<version number="$Revision$"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ "id" : 2, "name" : "Europe/London" }, | |
{ "id" : 3, "name" : "Europe/Paris" }, | |
{ "id" : 4, "name" : "Europe/Berlin" }, | |
{ "id" : 5, "name" : "Europe/Bucharest" }, | |
{ "id" : 6, "name" : "Europe/Budapest" }, | |
{ "id" : 7, "name" : "Europe/Kaliningrad" }, | |
{ "id" : 8, "name" : "America/Sao_Paulo" }, | |
{ "id" : 9, "name" : "America/Halifax" }, | |
{ "id" : 10, "name" : "America/New_York" }, | |
{ "id" : 11, "name" : "America/Chicago" }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using System.Globalization; | |
namespace DateTimeToIsoStringPerfTests | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Diagnostics; | |
using System.Linq; | |
using Raven.Client.Indexes; | |
using Raven.Imports.Newtonsoft.Json; | |
using Raven.Tests.Helpers; | |
using Xunit; | |
namespace Raven25Tests | |
{ | |
public class Q19069399 : RavenTestBase |