Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #15473

Closed (moved)
Open
Opened Mar 26, 2015 by Arthur Edelstein@arthuredelstein

JS Date object reveals OS type

Calls like new Date().toLocaleFormat() produce different Date formatting, depending on the platform.

Results from mcs, calling [new Date().toLocaleFormat(), new Date().toLocaleString()]:

Ubuntu: Array [ "Thu 26 Mar 2015 03:43:35 PM EDT", "3/26/2015, 3:43:35 PM" ] OSX: Array [ "Thu Mar 26 15:38:55 2015", "3/26/2015, 3:38:55 PM" ] Windows 7: Array [ "Thursday, March 26, 2015 3:45:01 PM", "3/26/2015, 3:45:01 PM" ]

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#15473