aboutsummaryrefslogtreecommitdiffstats
path: root/include/datetime.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/datetime.php')
-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