Browse Source

- Fix a date formating error in Contact model

pull/16/head
Jaussoin Timothée 12 years ago
parent
commit
c87642f710
  1. 6
      app/models/contact/Contact.php
  2. 2
      manifest.webapp

6
app/models/contact/Contact.php

@ -145,9 +145,9 @@ class Contact extends ModlModel {
$date = strtotime((string)$vcard->vCard->BDAY);
if($date != false && $date != '' && $date != '-3600')
$this->date = date('Y-m-d', $date);
else
$this->date = '0000-00-00';
$this->date = date(DATE_ISO8601, $date);
//else
// $this->date = '0000-00-00';
$this->name = (string)$vcard->vCard->NICKNAME;
$this->fn = (string)$vcard->vCard->FN;

2
manifest.webapp

@ -1,5 +1,5 @@
{
"version": "0.7beta4",
"version": "0.7beta6",
"name": "Movim",
"description": "Kick Ass Social Network, decentralized and fully based on XMPP ",
"icons": {

Loading…
Cancel
Save