JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 04.12.2016, 18:31
immortal192 immortal192 is offline
Modem User
 
Join Date: Dec 2016
Posts: 1
Default Month of date is reported incorrectly

I did some tests to confirm the issue this is what I've found--the date of a video used in the naming scheme (*date[mm-dd-yyyy]*) is incorrect. Specifically, only the "mm" or the month part is incorrect--"dd" for the day and "yyyy" for the year appears to be accurate.

In all the videos I've tested (7 videos) that reported inaccurate dates, the "mm" was "00" for January, even though the videos were not published in January. Again, the rest of the date (dd-yyyy) is reported correctly.

This is very important to me as I needed all my videos to be in the order of time published.
Reply With Quote
  #2  
Old 04.12.2016, 20:48
editestowy's Avatar
editestowy editestowy is offline
Polish Supporter
 
Join Date: May 2009
Location: PL
Posts: 3,029
Default

In your case: Date format should be: MM-dd-yyyy
MM is for month in year
mm is for minute in hour.
Reply With Quote
  #3  
Old 05.12.2016, 00:22
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,191
Default

please see Java doc for simple date for more information on which keys do what.

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 15:04.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.