GithubHelp home page GithubHelp logo

blundell / youtubetimestamps Goto Github PK

View Code? Open in Web Editor NEW
30.0 2.0 10.0 313 KB

Create heuristic time stamps

Home Page: http://blog.blundellapps.co.uk/creating-comments-with-timestamps-like-youtube/

Java 54.14% Kotlin 45.86%

youtubetimestamps's Introduction

YouTubeTimeStamps

Creating comments with timestamps like YouTube (java.util.Date or JodaTime)

This code is for a tutorial showing how you can create timestamped messages like the YouTube comments section. What this means is we will convert the timestamp (date) that each message has been saved at into a human readable and rounded format. For instance if today is 2016/02/14 17:00 and someone had commented at 2016/02/14:12:55 the message would be timestamped with "2 hours ago".

youtubetimestamps's People

Contributors

blundell avatar satnami avatar andiwijayaid avatar

Stargazers

Weslley Bezerra dos Santos avatar RoCk avatar David Aguiar avatar Simone Bellotti avatar Pranav Lathigara avatar  avatar crazyflysheep avatar YABAHDDOU Abdelhadi avatar Shaka Huang avatar Jing Lu avatar  avatar C. L. Wang avatar Shadik Khan avatar  avatar Angel Kjoseski avatar  avatar  avatar littlefan avatar Dzhunet Hasan avatar César Díez Sánchez avatar Cristiano avatar Omer Karakose avatar Subrahmanya S M avatar Hanqing avatar Rainer-Lang avatar Hisham Bakr avatar Bakyt Itigulov avatar Dharmendra Pratap Singh avatar Yossi Elkrief avatar  avatar

Watchers

 avatar Dzhunet Hasan avatar

youtubetimestamps's Issues

DateUtils from Android framemork

I also posted a comment on your blog post, but it seems to have disappeared, but I would like to know if you also looked at the DateUtils class from the Android framework, it seems to me that it does almost the same as this. Albeit maybe a bit less flexible. Or did you have any issues with it?

Convert To Kotlin?

Thank you for this awesome resource, was curious though could you convert this to Kotlin?

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.