Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.
This repository was archived by the owner on May 2, 2025. It is now read-only.

Track History only offers UTC #324

@tomcha34

Description

@tomcha34

Currently, our track history time is hardcoded to UTC, which may not be convenient for all users due to time zone differences. Could we enhance this feature to allow users to select their preferred time zone? This would greatly improve usability and ensure that users across different regions can view track history in a time format that is most relevant to them. Please let me know if any additional details are needed to implement this feature.

public void setStartDateTime(long millis) {
Date d = new Date(millis);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd",
LocaleUtil.getCurrent());
sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
_startDate.setText(sdf.format(d));
sdf = new SimpleDateFormat("HH:mm:ss'Z'", LocaleUtil.getCurrent());
sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
_startTime.setText(sdf.format(d));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions