davidvandertuijn/date_fuzzy_span 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

davidvandertuijn/date_fuzzy_span

Composer 安装命令:

composer require davidvandertuijn/date_fuzzy_span

包简介

Date Fuzzy Span

README 文档

README

Total Downloads Latest Stable Version License

Date Fuzzy Span

The “Date Fuzzy Span” tool is designed to help users analyze and interpret date ranges with a degree of flexibility. This functionality is particularly useful for handling uncertain or approximate date values in various applications, such as project management, event planning, and historical analysis.

"Buy Me A Coffee"

Install

composer require davidvandertuijn/date_fuzzy_span

Usage

date_fuzzy_span(time() - 10); // moments ago
date_fuzzy_span(time() + 20); // in moments

Localization

The default output is English:

  • moments ago | in moments
  • a few minutes ago | in a few minutes
  • less than an hour ago | in less than an hour
  • a couple of hours ago | in a couple of hours
  • less than a day ago | in less than a day
  • about a day ago | in about a day
  • a couple of days ago | in a couple of days
  • less than a week ago | in less than a week
  • about a week ago | in about a week
  • less than a month ago | in less than a month
  • about a month ago | in about a month
  • a couple of months ago | in a couple of months
  • less than a year ago | in less than a year
  • about a year ago | in about a year
  • a couple of years ago | in a couple of years
  • a few years ago | in a few years
  • about a decade ago | in about a decade
  • a couple of decades ago | in a couple of decades
  • several decades ago | in several decades
  • a long time ago | in a long time

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-08-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固