Comments (2)
The first day of
phrase only works with months, or month names. It can currently not be combined with this year
. This is in the documentation too: https://www.php.net/manual/en/datetime.formats.php#datetime.formats.relative
—
However, this is an often mentioned issues, so we probably should add this.
from php-src.
As the gregorian calendar is used anyhow the request can be rewritten to first day of january
as that will use the current year if no year is specified.
Or this year Jan 1st 00:00:00
Also first day of january this year 00:00:00
seems to work
from php-src.
Related Issues (20)
- ext-sockets won't compile in official Docker image 8.3.3-fpm-alpine3.19 HOT 3
- PHP_FCGI_MAX_IDLE_TIMEOUT environment variabile option for php-cgi
- Please, report to the developers HOT 6
- Add ext/xml Expat workflow to nightly
- Special error with multiplication + type casting for (2.01 * 1000000) HOT 1
- Imagick::readImage segfaults with heic file HOT 5
- cURL different behaviour between PHP 8.2.15 and PHP 8.2.16 HOT 16
- Setting boolean values via env in php config fails for all values other than `1` and `""` HOT 1
- New Garbage Collector feature for WeakMap added in 8.3 #10932 causes GC buffer overflow which then causes segfault HOT 8
- use reflection to determine whether a global constant is deprecated HOT 6
- Treat NetBSD like FreeBSD HOT 3
- SQLite3Result::fetchArray runs the query again. [O: Bug #64531 ]
- Calculation problems with comma numbers HOT 1
- Double quotes accepted unexpectedly for literal value escape in SQLite HOT 5
- opcache.interned_strings_buffer = 4096 is ignored and using default (PHP8) + segfault (PHP7+PHP5) HOT 8
- Out of memory with 1MB strings even though memory_get_usage reports 50% utilization HOT 8
- Fallback to using Certificate Authority from Windows Certificate Store HOT 1
- socket_getsockname returns wrong address on some unix filename
- "gmake test" fails with 98.5% HOT 7
- Regression: Values on array properties on $this are not available to anonymous function are they have mutated HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-src.