convert persian input to gregorian in blade laravel

hi Iam not good at javascript and have problem. I hope enyone can help me.
I want to get date from one input and change it to georgian and put it in another input.
and mix some code but didnt work

<input type="date" id="one" oninput="myFunction()">
<input  id="two">

<script>
window.onload = function() {
    var src = document.getElementById("one"),
        dst = document.getElementById("two");
        let text = src.toLocaleDateString('en-Us');
    src.addEventListener('input', function() {
        dst.value = text.value;
    });
};
</script>

thanks anyway