go integration and wikipedia
This commit is contained in:
parent
47a252e339
commit
ee90335b92
7828 changed files with 1307913 additions and 20807 deletions
17
frontend/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.mjs
generated
vendored
Normal file
17
frontend/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { constructFrom } from "../../../constructFrom.mjs";
|
||||
import { Parser } from "../Parser.mjs";
|
||||
import { parseAnyDigitsSigned } from "../utils.mjs";
|
||||
|
||||
export class TimestampMillisecondsParser extends Parser {
|
||||
priority = 20;
|
||||
|
||||
parse(dateString) {
|
||||
return parseAnyDigitsSigned(dateString);
|
||||
}
|
||||
|
||||
set(date, _flags, value) {
|
||||
return [constructFrom(date, value), { timestampIsSet: true }];
|
||||
}
|
||||
|
||||
incompatibleTokens = "*";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue