Skip to content

Commit

Permalink
Code comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakai-san committed Apr 15, 2021
1 parent edde1bb commit 2232f88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const TimeRangeNavigationBar = (props) => {

/* eslint-disable-next-line react/display-name */
TimeRangeNavigationBar.renderCurrentTimeRange = (from, to, timezone) => {
// TODO: replace Intl.DateTimeFormat by a formatter which is unified, meant not depending on user's setting.
// TODO: replace Intl.DateTimeFormat by a formatter which is unified, means not depending on the user's settings.

This comment has been minimized.

Copy link
@neonnoon

neonnoon Apr 16, 2021

Contributor

Can you elaborate why you prefer this tracked in a TODO in the code rather than a Jira or github issue?

const locale = new Intl.DateTimeFormat('de', {
timeZone: timezone, year: 'numeric', month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit',
});
Expand Down

0 comments on commit 2232f88

Please sign in to comment.