aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2014-10-19 11:09:51 +0200
committerStefan Parviainen <saparvia@caterva.eu>2014-10-19 11:09:51 +0200
commita6c4ae186e9e9962ce9ea364a95b49b5e2cbc81d (patch)
tree0065decc27b334e3adc138d740886319a734b4b2 /include
parent519ef4850021c929764f1175a9aae569d1ae36a6 (diff)
downloadvolse-hubzilla-a6c4ae186e9e9962ce9ea364a95b49b5e2cbc81d.tar.gz
volse-hubzilla-a6c4ae186e9e9962ce9ea364a95b49b5e2cbc81d.tar.bz2
volse-hubzilla-a6c4ae186e9e9962ce9ea364a95b49b5e2cbc81d.zip
Don't display date format, it's already in the placeholder text
Diffstat (limited to 'include')
-rw-r--r--include/datetime.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/include/datetime.php b/include/datetime.php
index 76c3ddb25..fe0f29c7a 100644
--- a/include/datetime.php
+++ b/include/datetime.php
@@ -140,36 +140,6 @@ function dob($dob) {
}
-function datesel_format($f) {
-
- $o = '';
-
- if(strlen($f)) {
- for($x = 0; $x < strlen($f); $x ++) {
- switch($f[$x]) {
- case 'y':
- if(strlen($o))
- $o .= '-';
- $o .= t('year');
- break;
- case 'm':
- if(strlen($o))
- $o .= '-';
- $o .= t('month');
- break;
- case 'd':
- if(strlen($o))
- $o .= '-';
- $o .= t('day');
- break;
- default:
- break;
- }
- }
- }
- return $o;
-}
-
/**
* returns a date selector
* @param $format