DateTime icon indicating copy to clipboard operation
DateTime copied to clipboard

Date/time (+math, +intervals) implementation for Haxe

Results 7 DateTime issues
Sort by recently updated
recently updated
newest added

Consider interval of 2021-06-26, 2022-06-25. interval.getTotalMonths returns -1 instead of 11. Here's my code fix it outside of datetime package. ```haxe @:access(datetime) class IntervalFix { public static function getTotalMonthsFix(interval:DateTimeIntervalCore) {...

When I click the API Docs link in the README.md (pointing to the url doc.stablex.ru/datetime/index.html), it's taking forever to load in Firefox, and eventually giving this timeout: ![image](https://user-images.githubusercontent.com/2584745/156061809-0be94d25-3866-4261-b068-1b7ff3d1d79e.png) Do the...

An ISO date like `2000-13-48T00:00:00Z` or `2000-01-01T29:73:82Z` is invalid: the `DateTime.fromString()` method should throw an exception in this case. Instead, it returns a date where the timestamp is adjusted according...

The `DateTime.fromString()` method only allows ISO 8601 dates that have the following format: `YYYY-MM-DDThh:mm:ss[.SSS]Z` But it is **very common** to have dates that use a timezone offset, like `2020-04-24T16:20:07+02:00`. So...

I found it useful to create a simple DayCounter for my Covid19 project. I convert dates from a string in the csv data using your library and use my DayCounter...

Doing a simple clock for football matches, counts up to 45 minutes from zero, or to 90 minutes from 45. Noticed this: if I compile to flash all goes well,...