aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-31 14:46:16 -0700
committerFriendika <info@friendika.com>2011-03-31 14:46:16 -0700
commitd728961cbf5ce3de7de65e37c900666e0f9f7358 (patch)
tree6fb362f08c9bea0a15a7c3451c5df7ebc042c37b
parent08032e04536e67dbf488654a0142350690154c57 (diff)
downloadvolse-hubzilla-d728961cbf5ce3de7de65e37c900666e0f9f7358.tar.gz
volse-hubzilla-d728961cbf5ce3de7de65e37c900666e0f9f7358.tar.bz2
volse-hubzilla-d728961cbf5ce3de7de65e37c900666e0f9f7358.zip
translateable time formats (PM & birthdays)
-rw-r--r--boot.php6
-rw-r--r--mod/message.php2
2 files changed, 3 insertions, 5 deletions
diff --git a/boot.php b/boot.php
index 8a2706252..e32e9a8fa 100644
--- a/boot.php
+++ b/boot.php
@@ -2,7 +2,7 @@
set_time_limit(0);
-define ( 'FRIENDIKA_VERSION', '2.1.934' );
+define ( 'FRIENDIKA_VERSION', '2.1.935' );
define ( 'DFRN_PROTOCOL_VERSION', '2.2' );
define ( 'DB_UPDATE_VERSION', 1045 );
@@ -2405,9 +2405,7 @@ function get_birthdays() {
if(! local_user())
return $o;
- $bd_format = get_config('system','birthday_format');
- if(! $bd_format)
- $bd_format = 'g A l F d' ; // 8 AM Friday January 18
+ $bd_format = t('g A l F d') ; // 8 AM Friday January 18
$r = q("SELECT `event`.*, `event`.`id` AS `eid`, `contact`.* FROM `event`
LEFT JOIN `contact` ON `contact`.`id` = `event`.`cid`
diff --git a/mod/message.php b/mod/message.php
index 9d30abd66..7978ecaf2 100644
--- a/mod/message.php
+++ b/mod/message.php
@@ -235,7 +235,7 @@ function message_content(&$a) {
'$delete' => t('Delete conversation'),
'$body' => $rr['body'],
'$to_name' => $rr['name'],
- '$date' => datetime_convert('UTC',date_default_timezone_get(),$rr['mailcreated'],'D, d M Y - g:i A')
+ '$date' => datetime_convert('UTC',date_default_timezone_get(),$rr['mailcreated'], t('D, d M Y - g:i A'))
));
}
$o .= paginate($a);