php-date-format
Advanced tools
+1
-1
@@ -12,3 +12,3 @@ { | ||
| ], | ||
| "version": "1.0.4", | ||
| "version": "1.0.5", | ||
| "license": "MIT", | ||
@@ -15,0 +15,0 @@ "type": "module", |
-16
| import format from './lib/dateformat.js'; | ||
| //console.log(format()); | ||
| //console.log(format.now); | ||
| process.env.TZ = 'Asia/Tokyo'; | ||
| /* | ||
| console.log(new Date()); | ||
| console.log(format('e', new Date('2023-01-01T09:00:00+09:00'))); | ||
| console.log(format('u', new Date('2023-07-31T00:00:00.09+0100'))); | ||
| console.log(new Date().toLocaleDateString(undefined, { timeZoneName: 'long' })); | ||
| */ | ||
| console.log(format('W', new Date('2013-12-31T13:06:34.02+09:00'))); | ||
| console.log(format('n', new Date('2013-12-31T13:06:34.02+09:00'))); | ||
| console.log(format('o', new Date('2013-12-31T13:06:34.02+09:00'))); | ||
| console.log( new Date('2013-12-31T13:06:34.02+09:00').getFullYear()); | ||
| console.log(Number('1') === 1); | ||
-4
| <?php | ||
| $d = new DateTime('2024-07-01'); | ||
| $d->setTimezone(new DateTimeZone('Europe/London')); | ||
| var_dump($d->format('I')); |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
4
-20%11784
-6.31%6
-25%257
-5.51%1
Infinity%