def upgrade_config(config, config_path=os.path.expanduser("~/.jrnl_conf")):
    missing_keys = set(default_config).difference(config)
    if missing_keys:
        for key in missing_keys:
            config[key] = default_config[key]
        with open(config_path, 'w') as f:
            json.dump(config, f, indent=2)
        print("[.jrnl_conf updated to newest version]")
Gregorian calendar date for the given ISO year, week and day.
dataset/ETHPy150Open maebert/jrnl/jrnl/install.py/upgrade_config--crossover with--dataset/ETHPy150Open caxap/redis-moment/moment/utils.py/iso_to_gregorian