mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-25 16:15:55 +03:00
[GH-ISSUE #1474] Add the ability to access the current date while scripting #1467
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1467
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alex-taffe on GitHub (Dec 21, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1474
Description
Currently,
Date()is unavailable in the JS scripting context. It would be nice to have this.Why this feature/change is important?
I'm currently working on mocking an API that returns a date. I need to test it against the current date / time. Right now I keep having to copy/paste the unix timestamp in or call out to a date time API to mock it.
@alex-taffe commented on GitHub (Dec 21, 2022):
I'm dumb and was constructing my JS wrong