Short Date!

Discuss all aspects of editing the data and databases in EHM here. Have a question about the EHM Editor, EHM Assistant, editing the .cfg files, hex editing the .dat or .db files? Want to tweak the EHM exe file to change league rules/structure, start date etc? This is the place!
Forum rules
This is the forum to discuss all aspects of editing the EHM data and tweaking the game.

Have a bug or feature request for the EHM Editor? Post them in the EHM Editor thread. Please start a new thread or post in another thread if you have a question about how to use the EHM Editor.

Given the large number of questions on similar topics, we ask that you start a new thread for a new question unless you can locate a similar question in an existing thread. This will hopefully ensure that similar questions do not get buried in large threads.

Useful links: EHM 1 Assistant (Download) | EHM 1 Editor (Download) | EHM 1 Editor Tutorials | Editing Rules & Structures Guide | Converting EHM 2004 / 2005 DBs to EHM 1 | Converting an EHM 2007 DB to EHM 1 | Extra_config.cfg | Import_config.cfg | Player Roles
Post Reply
trailerman1978
Junior League
Posts: 23
Joined: Wed Jan 01, 2020 1:25 pm
Favourite Team: Oilers

Short Date!

Post by trailerman1978 »

As I'm building leagues and restructuring leagues I've finally come across a problem I can't solve. I recently added Icelandic and Danish leagues and unlike other leagues I'm getting a message "Error".

The errors for these leagues started when I added them as playable so I know and can't figure out where the problem stems from, these leagues in particular...

The error message I get is: (Inside a grey box)

1. SHORT_DATE::SHORT_DATE() : day of month passed is invalid [-X

2. SHORT_DATE::SHORT_DATE() : month passed is invalid [-X

I'm working off the 2018-2019 update!

Let me know if anybody else has a solution for this...

Thanks mates,

Cowboy
User avatar
archibalduk
TBL Admin Team
Posts: 20372
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Short Date!

Post by archibalduk »

The error messages suggest you've entered a date incorrectly. Did you enter a date in American mm-dd-yyyy format rather than European dd-mm-yyyy format? If so, that will be the issue.
trailerman1978
Junior League
Posts: 23
Joined: Wed Jan 01, 2020 1:25 pm
Favourite Team: Oilers

Short Date!

Post by trailerman1978 »

archibalduk


Please explain my friend,

Where would I find these dates you speak of?

Many thanks,

Cowboy
User avatar
archibalduk
TBL Admin Team
Posts: 20372
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Short Date!

Post by archibalduk »

In the various settings screens of the leagues you added. So presumably you added entries to the Rules & Structures screen and possibly also the Schedule Templates screen for your additional leagues. Check each sub-screen for any date settings.
trailerman1978
Junior League
Posts: 23
Joined: Wed Jan 01, 2020 1:25 pm
Favourite Team: Oilers

Short Date!

Post by trailerman1978 »

archibalduk


I set up the two league schedules by using the generate dates wizard on the lower left hand side of the screen and gave enough dates to cover the needed number of games scheduled! Hmmm is this the problem?

I did not have this problem with any previous changes made? Confused! Any ideas? Which exact sub-screen for any date settings? That is the confusing part!

Thanks mate,

Cowboy

------------------------------

Fixed finally caught what you were talking about... =D>
Post Reply