Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BUG]: Date parsing error in Homer3 (MATLAB R2017b, ja_JP locale, Add-On installation) #214

@Kotas-gif

Description

@Kotas-gif

Version of Homer3

MATLAB R2017b; Windows 10 64-bit

Body:

Description

I encountered a date/time parsing error when launching Homer3 installed from MATLAB Add-On Manager on MATLAB R2017b (Windows, Japanese locale).

Error message

Unable to parse "09-10-2025 20:56:48" as a date/time using the format "MMM-dd-yyyy HH:mm:ss".
If the date/time text contains day, month, or time zone names in a language foreign to the "ja_JP" locale,
those might not be recognized. You can specify a different locale using the "Locale" parameter.

Full call stack

Environment

  • OS: Windows 11 (Japanese locale)
  • MATLAB version: R2017b
  • Homer3 installation: MATLAB Add-On Manager
  • Homer3 path:
    C:/Users/.../Documents/MATLAB/Add-Ons/Collections/Homer3/
  • Locale: ja_JP

What I tried

  1. Confirmed that the datetime string "09-10-2025 20:56:48" exists in the dataset.
  2. Attempted to modify datestr2datenum.m to include 'Locale','en_US', but MATLAB R2017b does not support this parameter.
  3. Changed Windows locale temporarily to English (US), but the error persisted.
  4. Verified that the error occurs immediately when launching Homer3 GUI.

Question

  • How can I correctly load or parse date/time data in Homer3 on MATLAB R2017b using a non-English locale (e.g., Japanese)?
  • Since MATLAB R2017b does not support the 'Locale' parameter in datetime, is there a recommended workaround?
  • Alternatively, is there a minimal MATLAB version officially supported by Homer3 to avoid locale-related issues?

Additional note

This installation was done via MATLAB Add-On Manager, not by cloning from GitHub.
If the Add-On version is outdated compared to the GitHub master branch, I am happy to test a newer build if available.

Thank you very much for maintaining Homer3 and for your support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions