AdguardTeam / AdguardTeam/HostlistCompiler

error time.

Open
#29 0 comments 0 reactions 1 assignee Claimed by @maximtop View on GitHub
bug Priority: P4
Dominant language
JavaScript
Stars
232
Forks
30
PR merge metrics
No merged PRs in 30d

Description

```
lines.push(`! Last modified: ${(new Date()).toISOString()}`);
```

Should be changed to
```
lines.push(`! Last modified: ${(new Date()).toLocaleString()}`);
```

Timezone is lost when converting date using toISOString(), resulting in a time difference of 8 hours

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.