Alexey Solodkiy
Alexey Solodkiy
After some thinking I consider that duration in case when start = end should be 1 nanosec. ``` $r = crateRange( '2020-01-01T00:00:00.000000000Z', // day min '2020-01-01T23:59:59.999999999Z' // day max );...
Relates to https://github.com/brick/date-time/issues/3
I really need setting explicitly the date/time format like d.m.y because I can't control formats what other services expecting from me. For me parse and print date/time from custom formats...
My vote for php-notation. Easy to implement (without any extensions), known by all php programmers.
Ok. Moving forward. This is quite unrelated from this issue, but also connected. We talk about date representation. I have ZonedDateTime in some timezone (perhaps UTC, perhaps not) and I...
@BenMorel are you ok with adding optional TimeZone argument to Zoned getDateTime, getDate and getTime methods?
In my PR `UnknownCurrencyException` doesn't extend `LogicException` directly, but through [DomainException](https://www.php.net/manual/en/class.domainexception.php) with is completely pass the case. >getting a currency code from user input and attempting to create a Money...
Also, there is already unchecked `\InvalidArgumentException` (which extend `LogicException`) in Currency constructor. And still, we can create this object from user, or db data, we just should validate it first....
@BenMorel what do you think about this PR? Maybe some one should help @jiripudil to make it mergeble? I think, custom formatting is one of the things that this lib...
Why not?