default to 4 digit year in user profiles

This commit is contained in:
Colin Kuskie 2006-05-08 16:13:34 +00:00
parent ec8420d8f7
commit 0e48026d01

View file

@ -1230,7 +1230,7 @@ sub updateProfileListFields {
foreach ("UPDATE userProfileField SET fieldType='selectBox' WHERE fieldType='selectList' and fieldName in ('language','gender','dateFormat','timeFormat','discussionLayout','INBOXNotifications','firstDayOfWeek','uiLevel','toolbar')",
"UPDATE userProfileField SET dataDefault='\\'English\\'' WHERE fieldName='language'",
"UPDATE userProfileField SET dataDefault='\\'neuter\\'' WHERE fieldName='gender'",
"UPDATE userProfileField SET dataDefault='\\'%M/%D/%Y\\'' WHERE fieldName='dateFormat'",
"UPDATE userProfileField SET dataDefault='\\'%M/%D/%y\\'' WHERE fieldName='dateFormat'",
"UPDATE userProfileField SET dataDefault='\\'%H:%n %p\\'' WHERE fieldName='timeFormat'",
"UPDATE userProfileField SET dataDefault='\\'nested\\'' WHERE fieldName='discussionLayout'",
"UPDATE userProfileField SET dataDefault='\\'email\\'' WHERE fieldName='INBOXNotifications'",