Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
tekdate format is a clear, human-readable date format designed to simplify global date handling and eliminate regional confusion.
Yes, I am done with ISO date format. thats why i come up the new format.
tekdate is a new date and time format designed for clarity and consistency across platforms. Each component of the date and time is explicitly labeled to remove any ambiguity, making it easier to read and process. It supports optional timezone information and can be used across programming languages and systems.
We don’t need colons, slashes, or other date separators because they can sometimes make it difficult to distinguish between the day and month, and we might not always be sure which format is being used. This often depends on the country or format settings in software like Excel. This format is designed to be more human-readable, avoiding confusion while still adhering to common standards. The reason I didn’t use capital letters is to emphasize the date itself, making it easier for the eye to distinguish between numbers and letters.
yYYYY
: Year (e.g., y2024
for the year 2024)mMM
: Month (e.g., m03
for March)dDD
: Day (e.g., d02
for the 2nd day)hHH
: Hour in 24-hour format (e.g., h20
for 8 PM)mMM
: Minute (e.g., m15
for 15 minutes)sSSS
: Seconds and milliseconds (e.g., s205
for 205 milliseconds)z±ZZZZ
(Optional): Timezone offset from UTC (e.g., z+0530
for Indian Standard Time)-> y2024m10d04h13m59s000z+0000
z±ZZZZ
), or omit it for local/unspecified time.The custom date format y2024m10d04h13m59s000z+0000 is designed to prevent confusion and improve human readability. By clearly labeling each date and time component (e.g., "y" for year, "m" for minute), it ensures that the format is immediately understandable and eliminates ambiguity. This structure makes it easy to distinguish between different elements without relying on traditional delimiters like dashes or colons, simplifying parsing for both humans and systems. Additionally, concerns over storage efficiency are minimal given modern capacities, so the focus on clarity and ease of interpretation offers a more practical approach. This format is highly intuitive and ready for use in any context where both accuracy and simplicity are prioritized.
... pip install tekdate
...
...
FAQs
tekdate format is a clear, human-readable date format designed to simplify global date handling and eliminate regional confusion.
We found that tekdate demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.