mirror of
https://github.com/actions/setup-python.git
synced 2025-07-21 08:18:20 +02:00
Clean up node_modules
This commit is contained in:
parent
b581dd4017
commit
145e800d1f
7184 changed files with 11271 additions and 1877650 deletions
25
node_modules/prompts/dist/dateparts/meridiem.js
generated
vendored
25
node_modules/prompts/dist/dateparts/meridiem.js
generated
vendored
|
@ -1,25 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
const DatePart = require('./datepart');
|
||||
|
||||
class Meridiem extends DatePart {
|
||||
constructor(opts = {}) {
|
||||
super(opts);
|
||||
}
|
||||
|
||||
up() {
|
||||
this.date.setHours((this.date.getHours() + 12) % 24);
|
||||
}
|
||||
|
||||
down() {
|
||||
this.up();
|
||||
}
|
||||
|
||||
toString() {
|
||||
let meridiem = this.date.getHours() > 12 ? 'pm' : 'am';
|
||||
return /\A/.test(this.token) ? meridiem.toUpperCase() : meridiem;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = Meridiem;
|
Loading…
Add table
Add a link
Reference in a new issue