Giter VIP home page Giter VIP logo

embulk-util-timestamp's Introduction

Timestamp parser and formatter for Embulk and Embulk plugins

For Embulk plugin developers

For Maintainers

Release

Modify version in build.gradle at a detached commit, and then tag the commit with an annotation.

git checkout --detach master

(Edit: Remove "-SNAPSHOT" in "version" in build.gradle.)

git add build.gradle

git commit -m "Release vX.Y.Z"

git tag -a vX.Y.Z

(Edit: Write a tag annotation in the changelog format.)

See Keep a Changelog for the changelog format. We adopt a part of it for Git's tag annotation like below.

## [X.Y.Z] - YYYY-MM-DD

### Added
- Added a feature.

### Changed
- Changed something.

### Fixed
- Fixed a bug.

Push the annotated tag, then. It triggers a release operation on GitHub Actions after approval.

git push -u origin vX.Y.Z

embulk-util-timestamp's People

Contributors

dmikurube avatar dependabot[bot] avatar

Watchers

Sadayuki Furuhashi avatar Hiroyuki Sato avatar James Cloos avatar Shinichi Ishimura avatar Ken Takagiwa avatar hirose avatar Serhii avatar Kenta Suzuki avatar Hieu Duong avatar Hitoshi Tanaka avatar  avatar  avatar

embulk-util-timestamp's Issues

[Discussion] TimestampParser strictly mode.

For future discussion.

Current TimeStampParser allows parsing as timestamp the following data.

  • format: %Y-%m-%d %H:%M:%S.
  • input data: 2015-01-27 19:23:49 aaa(aaa is non-time data)

Some users want to use TimestampParser strictly.
It is mean that a user wants to error when above data parsed.

JRuby behavior

[1] pry(main)> Date._strptime("2017/05/22 23:12:34","%Y/%m/%d %H:%M:%S")
=> {:year=>2017, :mon=>5, :mday=>22, :hour=>23, :min=>12, :sec=>34}
[2] pry(main)> Date._strptime("2017/05/22 23:12:34 hogehogehoge","%Y/%m/%d %H:%M:%S")

=> {:year=>2017,
 :mon=>5,
 :mday=>22,
 :hour=>23,
 :min=>12,
 :sec=>34,
 :leftover=>" hogehogehoge"}

Ref(Written in Japanese)

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.