Hypolite Petovan
a4b0ebf160
Add a couple of cases to DateTimeFormat::fix()
...
- Reworked method to perform more string replacements and fewer regular expression matches
2022-10-09 09:34:38 -04:00
Hypolite Petovan
bee6506d33
Only call DateTimeFormat::fix() when there's an Exception
...
- This prevents valid date/time strings to be mangled by fix()
2022-10-09 09:34:30 -04:00
Hypolite Petovan
345d307ae0
Add tests for DateTimeFormat::fix()
2022-10-07 23:10:50 -04:00
Hypolite Petovan
c0447ced48
Simplify method name for DateTimeFormat::fix
2022-10-07 23:10:50 -04:00
Michael
1ddeaaad4a
And another weird date format
2022-10-07 19:56:02 +00:00
Michael
6b917718fd
Juts another date format fix
2022-10-06 21:09:52 +00:00
Michael Vogel
0a7c9c66b5
Update src/Util/DateTimeFormat.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-10-03 19:04:49 +02:00
Michael
045238070b
Issue 11938: Fix weird date formats
2022-10-03 16:12:22 +00:00
Michael
757a5c2de9
Loglevels are adjusted
2022-08-30 19:45:30 +00:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
...
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Hypolite Petovan
ecaed2a845
Update DateTimeFormat documentation
...
- Remove an explicit default value parameter
2021-12-04 17:52:01 -05:00
Michael
1f79d25ffc
Replaced "api_date"
2021-11-18 21:43:13 +00:00
Michael
f6faae5bb1
Replace deprecated log
calls
2021-10-20 18:53:52 +00:00
Hypolite Petovan
6db211568a
Remove most calls to date_default_timezone_* calls
...
- It was wrongly used to set the node-wide ot user-specific timezone
- It is now fully managed from the App object
- Add a static variable to DateTimeFormat maintain the convenient local() method
2021-10-03 13:42:31 -04:00
Michael
e7bc908655
Renaming the date format to "JSON"
2021-06-02 03:32:42 +00:00
Michael
4e164690d5
Use the proper way to display milliseconds
2021-06-02 03:19:55 +00:00
Michael
5bd51b156a
API: Fix date format
2021-06-01 22:32:05 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files
2020-02-09 16:18:46 +01:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
Michael
8215c493cf
The archive functionality is working again
2020-01-15 04:06:30 +00:00
Philipp Holzer
ad67fd3aa8
Move is_a_date_arg to DateTimeFormat::isYearMonth
...
- Improved functionality
- Added tests
2019-10-23 02:39:28 +02:00
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
Michael
aa4aaf1971
Enable communication with Peertube
2019-01-14 12:10:11 +00:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
Michael
211ba75b22
Avoid "Failed to parse time string (-001-11-30T00:00:00+00:00 + 32 days)"
2018-04-04 18:58:25 +00:00
rabuzarus
342b9af734
fix undeclared variables or wrong variable names (/src)
2018-02-12 16:08:28 +01:00
Hypolite Petovan
4050a7b8dc
Replace forgotten datetime_convert() instances
2018-02-03 20:47:37 -05:00
Hypolite Petovan
5e7285b9ba
Move Temporal::convert() to DateTimeFormat::convert()
2018-02-03 08:56:55 -05:00