This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.

2 lines
345 B
JavaScript
Raw Normal View History

2021-04-02 02:24:13 +03:00
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.dayjs_plugin_isYesterday=e()}(this,function(){"use strict";return function(t,e,n){e.prototype.isYesterday=function(){var t=n().subtract(1,"day");return this.format("YYYY-MM-DD")===t.format("YYYY-MM-DD")}}});