Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
85518c6a
Commit
85518c6a
authored
8 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
FIX #6479
parent
08eaff72
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/core/class/vcard.class.php
+4
-8
4 additions, 8 deletions
htdocs/core/class/vcard.class.php
with
4 additions
and
8 deletions
htdocs/core/class/vcard.class.php
+
4
−
8
View file @
85518c6a
<?php
<?php
/* Copyright (C) Kai Blankenhorn <kaib@bitfolge.de>
/* Copyright (C) Kai Blankenhorn <kaib@bitfolge.de>
* Copyright (C) 2005-201
0
Laurent Destailleur <eldy@users.sourceforge.org>
* Copyright (C) 2005-201
7
Laurent Destailleur <eldy@users.sourceforge.org>
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* it under the terms of the GNU General Public License as published by
...
@@ -14,11 +14,6 @@
...
@@ -14,11 +14,6 @@
*
*
* You should have received a copy of the GNU General Public License
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* v2.0 Initial creation Kai Blankenhorn
* 2007 v3.0 Laurent Destailleur eldy@users.sourceforge.net
* Added functions (as in http://www.ietf.org/rfc/rfc2426.txt):
* setTitle setOrg setProdId setUID
*/
*/
/**
/**
...
@@ -160,8 +155,9 @@ class vCard
...
@@ -160,8 +155,9 @@ class vCard
* @return void
* @return void
*/
*/
function
setBirthday
(
$date
)
function
setBirthday
(
$date
)
{
// $date format is YYYY-MM-DD
{
$this
->
properties
[
"BDAY"
]
=
$date
;
// $date format is YYYY-MM-DD - RFC 2425 and RFC 2426
$this
->
properties
[
"BDAY"
]
=
dol_print_date
(
$date
,
'dayrfc'
);
}
}
/**
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment