GithubHelp home page GithubHelp logo

weekcount's Introduction

WeekCount

Platform   SDK   Build Status   Code Climate   GitHub license

Screenshot

设置

Preferences

  • 显示格式 一栏可以自定义显示在状态栏上的样式,使用 {W} 代表周数(阿拉伯数字)、{zhW} 代表中文大写的周数,还支持 ISO8601 标记(如 yyyy-MM-dd 等);

URL Schemes

URLSchemes

调用方法为(以下所有 wc:// 替换成 weekcount:// 也是可以的):

  • 打开设置面板:

     wc://
    
  • 重置设置项为默认值:

     wc://reset
    
  • 退出 WeekCount:

     wc://quit
    
  • 更改设置项:

     wc://set?startDate=20160222&lastCount=18
     ---
     参数说明:
     - startDate: 学期开始时间,必须是 yyyyMMdd 格式
     - lastCount: 学期周数
    

    以上两个参数只传其中任意一个也是可以的,一个不传(wc://set)也会打开设置面板。

其他

  • 在 OS X El Capitan 及更早的系统版本里,App 在状态栏上的位置无法改动,而 macOS Sierra 及更高版本的系统原生支持通过按住 command 键拖动来调整位置。

  • 一周的第一天是周一还是周日取决于系统设置,可在 系统偏好设置-语言与地区-每周的第一天 这里改动,改完可能需要重启一下 WeekCount;

Release Note

  • v1.3.2

    • 添加 ⌘Q 退出快捷键。
  • v1.3.1

    • 将代码更新至 Swift 4 和 macOS 10.13 SDK。
  • v1.3.0

    • 更改默认值(起始日期为当前日期)
    • 移除 Sparkle
  • v1.2.2

    • 将代码更新至 Swift 3 和 macOS 10.12 SDK;
    • 移除固定任务栏位置的私有 API,使用系统原生实现;
    • 最低系统版本上调至 10.11 El Capitan。
  • v1.2.1

    • 修复打开设置或关于界面时,窗口不置于前台的 Bug。
  • v1.2.0

    • 调整关于界面;
    • 增加自动更新功能。
  • v1.1.0

    • 显示格式中可以使用 {zhW} 显示中文大写周数;
    • 显示格式中可以使用 IS08601 标记来显示日期和时间;
    • 现在 WeekCount 将出现在状态栏右侧紧靠 Spotlight 图标处;
    • 增加关于界面。
  • v1.0.3

    • 修复在系统设置中修改一周的第一天后可能没有效果的 Bug。
  • v1.0.2

    • 修复当设置项内容不合法时应用无限崩溃的 Bug;
    • 增加 URL Schemes 支持,参见 URL Schemes
  • v1.0.1

    • 修复不刷新的 Bug(幸亏没过一个周才发现);
    • 当前日期不在学期中的时候,由显示空调整为显示 WeekCount,以防找不到按钮。

weekcount's People

Contributors

jezil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cregin necklinux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.