import sublime, sublime_plugin
import os, string
import re

from datetime import date

try:
    from MarkdownEditing.wiki_page import *
except ImportError:
    from wiki_page import *

try:
    from MarkdownEditing.mdeutils import *
except ImportError:
    from mdeutils import *


class OpenJournalCommand(MDETextCommand):
    def run(self, edit):
        print("Running OpenJournalCommand")        
        today = date.today()
        name = today.strftime('%Y-%m-%d')

        wiki_page = WikiPage(self.view)
        wiki_page.select_page(name)

import sublime, sublime_plugin
import os, string
import re

from datetime import date

try:
    from MarkdownEditing.wiki_page import *
except ImportError:
    from wiki_page import *

try:
    from MarkdownEditing.mdeutils import *
except ImportError:
    from mdeutils import *

DEFAULT_DATE_FORMAT = '%Y-%m-%d'
    
class OpenJournalCommand(MDETextCommand):
    def run(self, edit):
        print("Running OpenJournalCommand")        
        today = date.today()
        date_format = self.view.settings().get("mde.journal.dateformat", DEFAULT_DATE_FORMAT)
        name = today.strftime(date_format)

        wiki_page = WikiPage(self.view)
        wiki_page.select_page(name)

Add parameter to choose journal date format
Add parameter to choose journal date format

This allows for other journal date formats to be permissible, adding an optional date format parameter to the setting file.