Changeset 1085 in ExiteCMS for trunk/profile.php
- Timestamp:
- 11/08/07 00:06:27 (5 years ago)
- File:
-
- 1 edited
-
trunk/profile.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/profile.php
r1082 r1085 70 70 if ($data['user_birthdate'] != "0000-00-00") { 71 71 $birthdate = explode("-", $data['user_birthdate']); 72 $data['user_birthdate'] = strftime(nl_langinfo(D_FMT), mktime(1,0,0,$birthdate[1],$birthdate[2],$birthdate[0])) 73 } 72 $data['user_birthdate'] = strftime(str_replace("%m", "%B", preg_replace("/[^a-z%]/i", " ", nl_langinfo(D_FMT))), mktime(1,0,0,$birthdate[1],$birthdate[2],$birthdate[0])); 74 73 } else { 75 74 $data['user_birthdate'] = $locale['u048'];
Note: See TracChangeset
for help on using the changeset viewer.
