How do I change date format in birthday input?

Steve Ledonne Posted in General Discussion 7 years ago

Hey guys,

I was wondering how do I change the date format for birthdays.

It's setup as dd/mm/yyyy and I would like to change it to mm/dd/yyyy.

Thanks,

Steve

Replies
Indonesian Arsalan Shah Replied 7 years ago

Please see : https://github.com/opensource-socialnetwork/opensource-socialnetwork/blob/v4.x/components/OssnProfile/plugins/default/js/OssnProfile.php#L21

You can create your own component to modify the file as if you modify the file directly you'll lose it in next upgrade.