Commit Graph

195 Commits

Author SHA1 Message Date
Laurent Destailleur
e5f5c499a4 Update date.lib.php 2023-12-28 12:42:15 +01:00
Idayat NOUFOU
a2a9d8d9ad Fix: Unsupported operand types 2023-12-28 10:49:45 +01:00
Laurent Destailleur
b28ae5d8d3 Clean code 2023-12-27 12:12:20 +01:00
Laurent Destailleur
1babae58a4 Fix with php-cs-fixer 2023-12-04 12:05:28 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Laurent Destailleur
042d583070 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-11-17 12:03:38 +01:00
Laurent Destailleur
6ea48ac22a Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-11-17 12:02:21 +01:00
Maxime Kohlhaas
de0b733430 Fix : missing getEntity for hrm public holiday (#26627) 2023-11-16 23:27:20 +01:00
Laurent Destailleur
eae4dbd3c3 Fix duration 2023-08-08 13:03:36 +02:00
Laurent Destailleur
e489e10b65 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-17 16:05:12 +01:00
Laurent Destailleur
f8c3b9ff5b Fix trans of "d" 2023-02-16 22:11:41 +01:00
Laurent Destailleur
97061a9a92 NEW Use a cache file for external RSS in calendar 2023-01-13 17:17:23 +01:00
Laurent Destailleur
99d56f74ae NEW Can set a monthly frequency (or multiple) in cron tasks. 2022-10-18 19:49:02 +02:00
stickler-ci
9ed4131d20 Fixing style errors. 2022-09-15 16:10:13 +00:00
javieralapps4up
3bedbec81b Update date.lib.php
If $duration_unit = 's', it shows a 500 error
2022-09-15 18:02:24 +02:00
atm-lena
6e5d395ac8 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop_NEW_Service_DefaultWorkstation 2022-08-24 11:38:19 +02:00
Laurent Destailleur
b1b708b9ef Merge pull request #21733 from SylvainLegrand/Fix_improve_date_library
Fix : improve date library
2022-08-14 15:31:28 +02:00
stickler-ci
f61000f0c7 Fixing style errors. 2022-08-12 15:25:15 +00:00
Sylvain Legrand
0066dfd87c Fix : improve date library 2022-08-12 17:23:41 +02:00
stickler-ci
a41dee9e06 Fixing style errors. 2022-07-12 08:09:45 +00:00
atm-lena
c068eebc43 Add function "convertDurationtoHour" 2022-07-12 10:03:31 +02:00
Laurent Destailleur
862ca7cf04 Debug v16 2022-06-14 14:39:32 +02:00
Laurent Destailleur
89ffe5baba Clean code for param of dol_stringtotime() 2022-02-11 14:07:10 +01:00
Scrutinizer Auto-Fixer
5567310e44 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2021-10-25 20:07:31 +00:00
Frédéric FRANCE
d1c9877c41 fix missing code comment 2021-10-22 07:02:44 +02:00
Laurent Destailleur
f7b12208d1 Merge pull request #18802 from javieralapps4up/14.0
Close: #18801 Jan-30 + 1m IS NOT Mar-2
2021-10-22 00:01:42 +02:00
javieralapps4up
2ca0a1facf Update date.lib.php 2021-10-20 00:36:24 +02:00
javieralapps4up
11723c2cd0 Update date.lib.php
Without words, sorry
2021-09-27 14:49:22 +02:00
javieralapps4up
c4f1eb0c46 Update date.lib.php
Fix my error
2021-09-27 14:32:03 +02:00
stickler-ci
e5cff0ede1 Fixing style errors. 2021-09-22 16:07:36 +00:00
javieralapps4up
e74043d48e Close: #18801 Jan-30 + 1m IS NOT Mar-2
Close: #18801 related to avoid this behaviour https://bugs.php.net/bug.php?id=74013
2021-09-22 17:56:31 +02:00
Laurent Destailleur
047bbbb298 NEW Can set/unset the usual working day of the week 2021-08-05 14:42:28 +02:00
Laurent Destailleur
65110411ac Doc 2021-06-20 17:20:12 +02:00
Laurent Destailleur
f486595e13 Fix dolSqlDateFilter 2021-06-20 16:55:22 +02:00
Laurent Destailleur
61df76dd9a Fix pb in date format %a %b when using a negative timezone
Enhance date management and unit tests.
2021-04-19 12:48:08 +02:00
Laurent Destailleur
8526ca5304 Merge pull request #17121 from 0x00FE/add-friday-holiday
NEW Add support for Friday as a holiday
2021-04-10 15:30:57 +02:00
César de la Cal Bretschneider
eadd8defaf Good friday is a holiday 2021-04-10 11:39:48 +02:00
Ahmad Hadeed
63f7369adb Fixing 'stickler-ci' complaint, function description not in order 2021-04-09 21:16:24 +03:00
Ahmad Hadeed
20e51016ed fixing function description comment to satisfy 'stickler-ci' 2021-04-09 21:11:37 +03:00
Ahmad Hadeed
937fe333f1 Moving Friday to end of function declaration to maintain backward compatibility 2021-04-09 20:49:39 +03:00
Ahmad Hadeed
f2f2aed6cd Fix 3 weekend holiday behavior after adding support to Friday as a holiday. 2021-04-05 22:05:22 +03:00
stickler-ci
caa2facd47 Fixing style errors. 2021-04-05 17:09:25 +00:00
Ahmad Hadeed
235725b528 Add support for Friday as a holiday and some comment alignment fixes 2021-04-05 19:57:33 +03:00
Laurent Destailleur
3cbced439a Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/admin/tools/listevents.php
	htdocs/compta/bank/line.php
	htdocs/compta/facture/class/facture-rec.class.php
	htdocs/compta/facture/class/facture.class.php
	htdocs/compta/paiement/cheque/card.php
	htdocs/core/class/commonobject.class.php
	htdocs/core/class/extrafields.class.php
	htdocs/core/lib/date.lib.php
	htdocs/core/lib/ticket.lib.php
	htdocs/core/modules/mailings/modules_mailings.php
	htdocs/core/tpl/extrafields_view.tpl.php
	htdocs/core/tpl/objectline_view.tpl.php
	htdocs/cron/list.php
	htdocs/expedition/card.php
	htdocs/mrp/mo_list.php
	htdocs/product/stock/productlot_card.php
	htdocs/public/emailing/mailing-read.php
	htdocs/public/emailing/mailing-unsubscribe.php
	htdocs/ticket/list.php
	test/phpunit/FactureRecTest.php
2021-03-05 19:29:09 +01:00
Laurent Destailleur
ffa0e6c391 FIX Timezone management for datetime on list of events 2021-03-04 15:34:29 +01:00
Frédéric FRANCE
a4e25359e7 add missing rule 2021-03-01 20:37:16 +01:00
Laurent Destailleur
490faec547 FIX Timezone problems
Conflicts:
	htdocs/core/lib/date.lib.php
	test/phpunit/DateLibTest.php
2021-02-28 22:50:21 +01:00
Laurent Destailleur
ae81ab0c7c FIX Timezone problems 2021-02-28 22:44:11 +01:00
Laurent Destailleur
5c0ea476e1 Look and feel v14 2021-02-27 12:45:07 +01:00
Frédéric FRANCE
554e449e40 code syntax core directory 2021-02-23 22:03:23 +01:00